Skip to content

fieldmap for BOLD file not found even though it is present  #73

@rmldj

Description

@rmldj

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:

  File "/run.py", line 435, in <module>
    f"No fieldmaps found for BOLD {fmritcs}. Consider --procesing_mode [legacy | auto ]."
AssertionError: No fieldmaps found for BOLD /bids_dataset/sub-121c/func/sub-121c_task-rest_bold.nii.gz. Consider --procesing_mode [legacy | auto ].

However in the subdirectory sub-121c/fmap, I have the following files:

sub-121c_dir-PA_epi.json    sub-121c_magnitude2.json
sub-121c_dir-PA_epi.nii.gz  sub-121c_magnitude2.nii.gz
sub-121c_magnitude1.json    sub-121c_phasediff.json
sub-121c_magnitude1.nii.gz  sub-121c_phasediff.nii.gz

In the sub-121c_dir-PA_epi.json there is the line

    "IntendedFor": "func/sub-121c_task-rest_bold.nii.gz"

and 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 fieldmap sub-121c_dir-PA_epi.nii.gz...
I would be grateful for any help..
Romuald

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions