-
Notifications
You must be signed in to change notification settings - Fork 27
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
[B0FieldIdentifier] repeated between subjects makes fmriprep crash #455
Comments
Thanks for reporting this! I never actually run multiple subjects at once, so didn't catch this. This will be an issue with sdcflows, so I'm going to transfer the issue there. Without any deep investigation, I suspect this is going to be a fairly high-effort fix. On your end, I would suggest renaming your B0Fields and moving on. |
Hi all, I think I am running into the same / similar error using multi-echo fMRI sequences. It is possible, that the error is on my side and what I am trying to do is not an intended use. I have some multi-echo fMRI acquired with the CMRR sequence in AP direction and checked "inversed polarity" (IIRC) to acquire some volumes using the same sequence in PA direction. And I am now trying to only estimate the distortion map on the first echo and applying it to the other two. So I have
And renamed (for BIDS compliance):
I am now trying to create only one distortion map by adding:
And adding
Which basically leads to the same error:
Addition: Just using IntendedFor (as I saw in some discussion on Neurostars works though), but it now appears to use the 2nd echo as a field-map i.e., So for now I won't rename my fmaps and keep the echo in there and only use IntendedFor. I would've like to use B0Field identifiers though, to be certain that the correct fmaps are applied. |
What happened?
I tried using B0FieldIdentifier and B0FieldSource for susceptibility distortion correction. According to BIDS Spec, I've added
in
.../fmap/...phasediff.json
, and addedin
.../func/...bold.json
for each subjects. I.e., I use the same identifier for all subjects.When I tried run
fmriprep
for multiple participants at once, I got the error.Is it required that this identifier MUST be different across subjects? Or are there chances to improve
fmriprep
such that we only need the identifier be unique within one subject?What command did you use?
What version of fMRIPrep are you running?
24.0.1
How are you running fMRIPrep?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Additional information / screenshots
Even when the identifier is the same across all subjects, it works normal if I run
fmriprep
for each subject separately via--participant-label
. If we need to use different identifiers for each subjects, then the behavior offmriprep
differs when run for one subject versus run for multiple subjects, which seems unnatural.Last but not least, if the identifier must be unique, why
bids-validator
passed with no error?The text was updated successfully, but these errors were encountered: