Giter Club home page Giter Club logo

Comments (4)

rmldj avatar rmldj commented on June 14, 2024

Btw. I pulled the latest version from docker hub yesterday - so this should be v4.3.0-3

from hcppipelines.

rmldj avatar rmldj commented on June 14, 2024

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)

from hcppipelines.

rhancockn avatar rhancockn commented on June 14, 2024

from hcppipelines.

rmldj avatar rmldj commented on June 14, 2024

Thanks! I will ask for the AP file.
But apparently the legacy method has The following LegacyStyleData settings were requested: --dcmethod=NONE
So the HCPPipeline does not do any distortion correction - the phase/magnitude data would be used with the option https://github.com/Washington-University/HCPpipelines/blob/master/fMRIVolume/GenericfMRIVolumeProcessingPipeline.sh#L76
so this need some setup from inside the BIDS app?

from hcppipelines.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.