Skip to content

Commit 4da1fef

Browse files
committed
Merge branch 'master' into enh/circle_testing
2 parents cf2bea0 + c1e811e commit 4da1fef

File tree

7 files changed

+12
-1137
lines changed

7 files changed

+12
-1137
lines changed

circle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ dependencies:
2323
- pip install -e .
2424
- pip install matplotlib sphinx ipython boto coverage
2525
- gem install fakes3
26-
- if [[ ! -d ~/examples/data ]]; then wget "http://tcpdiag.dl.sourceforge.net/project/nipy/nipype/nipype-0.2/nipype-tutorial.tar.bz2"; tar jxvf nipype-tutorial.tar.bz2; mkdir ~/examples; mv nipype-tutorial/* ~/examples/; fi
27-
- if [[ ! -d ~/examples/fsl_course_data ]]; then wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/fdt1.tar.gz" ; wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/fdt2.tar.gz"; wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/tbss.tar.gz"; mkdir ~/examples/fsl_course_data; tar zxvf fdt1.tar.gz -C ~/examples/fsl_course_data; tar zxvf fdt2.tar.gz -C ~/examples/fsl_course_data; tar zxvf tbss.tar.gz -C ~/examples/fsl_course_data; fi
26+
- if [[ ! -d ~/examples/data ]]; then wget "http://tcpdiag.dl.sourceforge.net/project/nipy/nipype/nipype-0.2/nipype-tutorial.tar.bz2" && tar jxvf nipype-tutorial.tar.bz2 && mv nipype-tutorial/* ~/examples/; fi
27+
- if [[ ! -d ~/examples/fsl_course_data ]]; then wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/fdt1.tar.gz" && wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/fdt2.tar.gz" && wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/tbss.tar.gz" && mkdir ~/examples/fsl_course_data && tar zxvf fdt1.tar.gz -C ~/examples/fsl_course_data && tar zxvf fdt2.tar.gz -C ~/examples/fsl_course_data && tar zxvf tbss.tar.gz -C ~/examples/fsl_course_data; fi
2828
- bash ~/nipype/tools/install_spm_mcr.sh
2929
- mkdir -p ~/.nipype && echo '[logging]' > ~/.nipype/nipype.cfg && echo 'workflow_level = DEBUG' >> ~/.nipype/nipype.cfg && echo 'interface_level = DEBUG' >> ~/.nipype/nipype.cfg && echo 'filemanip_level = DEBUG' >> ~/.nipype/nipype.cfg
3030
machine:

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)