Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation/Raise informative error for _regressors.tsv #310

Open
jdkent opened this issue Apr 15, 2020 · 0 comments
Open

Validation/Raise informative error for _regressors.tsv #310

jdkent opened this issue Apr 15, 2020 · 0 comments

Comments

@jdkent
Copy link
Member

jdkent commented Apr 15, 2020

Hello,

Thanks so much for your help with this. Please let me know if this is an appropriate place to be posting these questions, or if there's a different forum.

I attempted to modify a FEAT directory to confirm to the BIDS derivatives specification, not sure if I've entirely succeeded. My preproccessed subject files are called, for example, sub-S33107_ses-imaging_task-Stroop_space-MNI152_desc-preproc_bold.nii.gz. Because I called the space simply MNI152 in those files, I added the flag '--space-label MNI152' to the command and got it past the previous error. I now have a new error that says: "ValueError: The selected confounds contain nans: ['rot_x', 'rot_y', 'rot_z', 'trans_x', 'trans_y', 'trans_z']" I don't know why it's reporting that..?

Originally posted by @mbpincus in #303 (comment)

We should check that each column is numeric and that there should be at least as many columns in the dataframe as the user has selected to use in the analysis (doesn't make sense if the user has specified 5 columns to use, but the dataframe only has 3 columns).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant