aramis-lab / clinica

Software platform for clinical neuroimaging studies
http://www.clinica.run/
Other
220 stars 74 forks source link

add "real" and "imaginary" file endings to return fmap in adni_utils.py #1177

Closed likeajumprope closed 4 months ago

likeajumprope commented 4 months ago

Adding file endings "real" and "imaginary" to adni_utils.py to return "fmap"; to cover all file endings. This allows running over:

"... fmap_ e2_imaginary.json" "... fmap_e2_real.json"

and not throw an error.

This PR was mentioned in #1175.

NicolasGensollen commented 4 months ago

Hi @likeajumprope

I'm going to close this PR as the real and imaginary files need to be ignored as they result from a bad conversion by dcm2niix. In addition these two suffixes aren't BIDS compliant and would break the current code in many ways. Feel free to re-open this PR, or open a dedicated issue if we misunderstood something here.