Closed Michael-Sun closed 9 months ago
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.
Hi @Michael-Sun, I just fixed the issue - could you please re-install BABS from GitHub main branch (instead of using pip install
), and test it out on your dataset?
When attempting to run babs-init, it determined that a folder in my BIDS directory 'code' was a subject and raised an exception: