-
Notifications
You must be signed in to change notification settings - Fork 30
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
fieldmap for BOLD file not found even though it is present #73
Comments
Btw. I pulled the latest version from docker hub yesterday - so this should be v4.3.0-3 |
I did some sleuthing on the command line using
hence the following condition fails:
However, if I would erase the
So it seems that the code expects two have two epi fieldmaps, while I have only one? |
This is very helpful-it looks like the code could better handle the
presence of both epi and phase/magnitude fieldmaps. However, you do have
incomplete data. EPI fieldmaps come in pairs acquired in opposite phase
encoding directions; the field cannot be calculated from a single
direction. You are missing the file fmap/sub-121c_dir-*AP*_epi.nii.gz from
the dataset. If you remove the fmap/sub-121c_dir-PA_epi.nii.gz file,
processing should proceed with the phase/magnitude data, provided that is
suitable for correcting your data. This is admittedly less thoroughly
tested than EPI fieldmaps.
Roeland Hancock
…On Fri, Jan 14, 2022 at 4:37 PM rmldj ***@***.***> wrote:
I did some sleuthing on the command line using BIDSLayout.
It seems that the problem is in
https://github.com/BIDS-Apps/HCPPipelines/blob/master/run.py#L416
The fieldmap_set that I get is
[{'epi': '/opt/romuald/SR/fMRI_data/sub-121c/fmap/sub-121c_dir-PA_epi.nii.gz', 'suffix': 'epi'}, {'phasediff': '/opt/romuald/SR/fMRI_data/sub-121c/fmap/sub-121c_phasediff.nii.gz', 'magnitude1': '/opt/romuald/SR/fMRI_data/sub-121c/fmap/sub-121c_magnitude1.nii.gz', 'suffix': 'phasediff', 'magnitude2': '/opt/romuald/SR/fMRI_data/sub-121c/fmap/sub-121c_magnitude2.nii.gz'}]
hence the following condition fails:
all(item["suffix"] == "epi" for item in fieldmap_set)
However, if I would erase the phasediff and magnitude files it would
still not work as it would fail the condition
len(fieldmap_set) == 2
So it seems that the code expects two have *two* epi fieldmaps, while I
have only one?
Is it true? Does that mean that the data is incomplete and I should be
using auto processing mode here? (I have a T2w image)
—
Reply to this email directly, view it on GitHub
<#73 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARMKWYA4SMIXC34PIZUJPLUWCJSLANCNFSM5L7C4MNQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thanks! I will ask for the AP file. |
Hello,
I posted this on the hcp-users group but it seems to be more specific to the BIDS app:
I am trying to run the HCPPipelines BIDS app on a sample subject from my colleague's data. After the PostFreeSurferPipeline is completed, I get the error:
However in the subdirectory
sub-121c/fmap
, I have the following files:In the
sub-121c_dir-PA_epi.json
there is the lineand the corresponding
sub-121c_dir-PA_epi.nii.gz
is present.The BIDS validator correctly identifies the corresponding BOLD map
func/sub-121c_task-rest_bold.nii.gz
- I checked this by modifying the IntendedFor field. However the pipeline script somehow does not locate the fieldmapsub-121c_dir-PA_epi.nii.gz
...I would be grateful for any help..
Romuald
The text was updated successfully, but these errors were encountered: