You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to run babs-init, it determined that a folder in my BIDS directory 'code' was a subject and raised an exception:
Checking whether each input dataset is a zipped or unzipped dataset...
input dataset '1080_wasabi' is considered as an unzipped dataset.
Performing sanity check for any unzipped input dataset...
babs-init failed! Below is the error message:
Traceback (most recent call last):
File "/dartfs-hpc/rc/home/j/f003z4j/miniconda3/lib/python3.9/site-packages/babs/cli.py", line 234, in babs_init_main
babs_proj.babs_bootstrap(input_ds,
File "/dartfs-hpc/rc/home/j/f003z4j/miniconda3/lib/python3.9/site-packages/babs/babs.py", line 400, in babs_bootstrap
check_validity_unzipped_input_dataset(input_ds, self.type_session)
File "/dartfs-hpc/rc/home/j/f003z4j/miniconda3/lib/python3.9/site-packages/babs/utils.py", line 95, in check_validity_unzipped_input_dataset
raise Exception(
Exception: In input dataset #1 '1080_wasabi', there is no ses-* folder in subject folder 'code'!
The text was updated successfully, but these errors were encountered:
Hi Michael! What's that code folder within your BIDS dataset used for? My understanding is that code should not be located within your BIDS dataset. Could you please remove this code folder?
@zhao-cy I think it's fairly common to have code directories in BIDS, along with other directories like source_data. We should have BABS only look for sub-* directories directly under the BIDS root
Ah sorry about this! Yes that's indeed a bug in BABS - thanks for letting us know, Michael! I'll fix it asap.
Note to myself: see function check_validity_unzipped_input_dataset() in utils.py. Seems this issue is only in validating the input datasets, but not when listing the subjects/sessions for analysis.
When attempting to run babs-init, it determined that a folder in my BIDS directory 'code' was a subject and raised an exception:
The text was updated successfully, but these errors were encountered: