Skip to content

Commit 1262955

Browse files
committed
Merge pull request #1338 from oesteban/fix/ProblemsInMaster
[FIX] Some problems have sneaked into master
2 parents 74f8b78 + b73ec6d commit 1262955

File tree

5 files changed

+3
-1134
lines changed

5 files changed

+3
-1134
lines changed

nipype/algorithms/tests/test_auto_ErrorMap.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

nipype/algorithms/tests/test_auto_Overlap.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

nipype/interfaces/dipy/preprocess.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
package_check('dipy', version='0.6.0')
2424
except Exception as e:
2525
have_dipy = False
26-
else:
27-
from dipy.align.aniso2iso import resample
28-
from dipy.core.gradients import GradientTable
2926

3027

3128
class ResampleInputSpec(TraitedSpec):
@@ -172,6 +169,7 @@ def resample_proxy(in_file, order=3, new_zooms=None, out_file=None):
172169
"""
173170
Performs regridding of an image to set isotropic voxel sizes using dipy.
174171
"""
172+
from dipy.align.aniso2iso import resample
175173

176174
if out_file is None:
177175
fname, fext = op.splitext(op.basename(in_file))

nipype/interfaces/freesurfer/tests/test_auto_Surface2VolTransform.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def test_Surface2VolTransform_inputs():
1616
usedefault=True,
1717
),
1818
mkmask=dict(argstr='--mkmask',
19+
xor=['source_file'],
1920
),
2021
projfrac=dict(argstr='--projfrac %s',
2122
),
@@ -26,6 +27,7 @@ def test_Surface2VolTransform_inputs():
2627
source_file=dict(argstr='--surfval %s',
2728
copyfile=False,
2829
mandatory=True,
30+
xor=['mkmask'],
2931
),
3032
subject_id=dict(argstr='--identity %s',
3133
xor=['reg_file'],

0 commit comments

Comments
 (0)