Skip to content

pepolar scheme using SBRef considered as sophisticated. #2889

@bpinsard

Description

@bpinsard

What happened?

Running fMRIPrep 21.9.1 on a BIDS dataset with func/*sbref.nii.gz and fmap/*acq-sbref*_epi.nii.gz paired with B0FieldIdentifier raises NotImplementedError: Sophisticated PEPOLAR schemes are unsupported.

https://github.com/nipreps/fmriprep/blob/master/fmriprep/workflows/base.py#L511

could be replaced with

            if set(suffices) == {"epi"} or sorted(suffices) == ["bold", "epi"] or sorted(suffices) == ["epi", "sbref"] :

(tested with that patch and it seems to run)
or even maybe

            if set(suffices) == {"epi"} or set(suffices) == {"sbref"} or set(suffices) == {"bold"}  or sorted(suffices) == ["bold", "epi"] or sorted(suffices) == ["epi", "sbref"] :

If we want to allow task ran in both phase-encoding directions to be used for distortion estimation (without any `fmap/*_epi.nii.gz) if SDCFLows supports it.

Let me know if that makes sense and I can submit a small PR.

What command did you use?

apptainer images from repronim-containers, exact command no relevant.

What version of fMRIPrep are you running?

21.0.1

How are you running fMRIPrep?

Singularity

Is your data BIDS valid?

Yes

Are you reusing any previously computed results?

Anatomical derivatives

Please copy and paste any relevant log output.

No response

Additional information / screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions