Skip to content

Commit 2ed433d

Browse files
committed
Merge branch 'master' of github.com:nipy/nipype
2 parents 5571a35 + 0bb9561 commit 2ed433d

File tree

13 files changed

+397
-336
lines changed

13 files changed

+397
-336
lines changed

examples/smri_ants_registration.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import urllib.error
2525
import urllib.parse
2626
from nipype.interfaces.ants import Registration
27+
from nipype.testing import example_data
2728

2829
"""
2930
2. Download T1 volumes into home directory
@@ -61,11 +62,12 @@
6162

6263
"""
6364
3. Define the parameters of the registration. Settings are
64-
saved in ``smri_ants_registration_settings.json``.
65+
found in the file ``smri_ants_registration_settings.json``
66+
distributed with the ``example_data`` of `nipype`.
6567
6668
"""
6769

68-
reg = Registration(from_file='./smri_ants_registration_settings.json')
70+
reg = Registration(from_file=example_data('smri_ants_registration_settings.json'))
6971
reg.inputs.fixed_image = input_images[0]
7072
reg.inputs.moving_image = input_images[1]
7173

nipype/algorithms/compcor.py

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

0 commit comments

Comments
 (0)