-
Notifications
You must be signed in to change notification settings - Fork 294
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
collect_derivatives
uses incorrect "from" entity while searching for pre-calculated boldref -> fmap coregistrations (orig vs boldref)
#3368
Comments
Unless, perhaps that field aims to pick up a different transformation -- not the boldref-auto##### generated during typical use of pepolar with fmriprep? |
Yes, I think you're right. And I think the |
Would you mind opening a PR against the |
Yes, can do. Just to make sure I understand how this is supposed to work, is the idea that when I run a command like
where
then that |
Not necessarily that it will be copied into the output, but that its generation will be skipped. I do not think we are 100% consistent on whether a precomputed file will be copied to output or not. |
I think there might be a couple of other issues
Should I break those into separate issues and pull requests, or just do them together? |
Feel free to fix together. |
What happened?
fMRIPrep generates rigid xfms between the boldref and the fieldmap that have names like
sub-{subject}_ses-{session}_task-{task}_run-{run}_from-boldref_to-{fieldmap_id}_mode-image_xfm.txt
.I am trying to supply precalculated xfms with the
--derivatives
flag, but it doesn't seem like they are being picked up.What command did you use?
What version of fMRIPrep are you running?
24.1.0
How are you running fMRIPrep?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
FreeSurfer
Please copy and paste any relevant log output.
Additional information / screenshots
I guess the issue is that the searched for pattern uses
"from": "orig",
?As in, below, I would have expected "boldref" to work but not "orig"
FWIW, I'm trying to supply these xfms as a way to troubleshoot the issue described here: https://neurostars.org/t/poor-fieldmap-functional-registration-in-fmriprep-highly-variable-step/30397, which I mention shamelessly to get more eyes on it ;)
The text was updated successfully, but these errors were encountered: