Skip to content
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

FIX: Do not reorient magnitude images #98

Merged
merged 2 commits into from
Apr 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packaging
pydot>=1.2.3
pydotplus
sphinx-argparse
sphinx>=2.1.2
sphinx>=2.1.2,<3
sphinx_rtd_theme
sphinxcontrib-apidoc ~= 0.3.0
templateflow
templateflow
3 changes: 2 additions & 1 deletion sdcflows/workflows/gre.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def init_magnitude_wf(omp_nthreads, name='magnitude_wf'):
name='outputnode')

# Merge input magnitude images
magmrg = pe.Node(IntraModalMerge(hmc=False), name='magmrg')
# Do not reorient to RAS to preserve the validity of PhaseEncodingDirection
magmrg = pe.Node(IntraModalMerge(hmc=False, to_ras=False), name='magmrg')

# de-gradient the fields ("bias/illumination artifact")
n4_correct = pe.Node(ants.N4BiasFieldCorrection(dimension=3, copy_header=True),
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ include_package_data = True

[options.extras_require]
doc =
sphinx >= 2.1.2
sphinx >= 2.1.2, <3
pydot >= 1.2.3
pydotplus
sphinx_rtd_theme
Expand Down