Skip to content
New issue

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

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

Already on GitHub? # to your account

run numbering when several SerDesc have the same BIDS_Name in Protocol_Translator #55

Closed
jcrdubois opened this issue Mar 28, 2019 · 0 comments
Assignees

Comments

@jcrdubois
Copy link
Collaborator

jcrdubois commented Mar 28, 2019

I have the same BIDS_Name for 2+ SerDesc (SE-EPI fieldmaps) in my Protocol_Translator (due to poor naming scheme at the console, granted!).

"SE_EPI_Fieldmap_Pos":[
"fmap",
"dir-AP_epi",
"UNASSIGNED"
],
"acq-casinoE_run-01_dir-AP_epi":[
"fmap",
"dir-AP_epi",
"UNASSIGNED"
],

The run numbering fails in this situation, simply acknowledging that the files exists already and skipping, with this message:

Populating BIDS source directory
Preserving previous sub-p60cs_ses-caltech_dir-AP_run-01_epi.nii.gz
Preserving previous sub-p60cs_ses-caltech_dir-AP_run-01_epi.json

It should be possible to modify auto_run_no (in translate.py) so it recognizes this situation. I can take a crack at it

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

No branches or pull requests

1 participant