Skip to content

Commit ec937c6

Browse files
authored
Merge pull request #98 from effigies/fix/no_reorient_magnitude
FIX: Do not reorient magnitude images
2 parents 03d02e1 + c15234e commit ec937c6

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docs/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ packaging
88
pydot>=1.2.3
99
pydotplus
1010
sphinx-argparse
11-
sphinx>=2.1.2
11+
sphinx>=2.1.2,<3
1212
sphinx_rtd_theme
1313
sphinxcontrib-apidoc ~= 0.3.0
14-
templateflow
14+
templateflow

sdcflows/workflows/gre.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ def init_magnitude_wf(omp_nthreads, name='magnitude_wf'):
6565
name='outputnode')
6666

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

7071
# de-gradient the fields ("bias/illumination artifact")
7172
n4_correct = pe.Node(ants.N4BiasFieldCorrection(dimension=3, copy_header=True),

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ include_package_data = True
4242

4343
[options.extras_require]
4444
doc =
45-
sphinx >= 2.1.2
45+
sphinx >= 2.1.2, <3
4646
pydot >= 1.2.3
4747
pydotplus
4848
sphinx_rtd_theme

0 commit comments

Comments
 (0)