Skip to content

Commit cf1f227

Browse files
authored
Merge pull request #550 from oesteban/enh/finish-ants-upstreaming-2
MAINT: Finalize upstreaming of ants interfaces to nipype
2 parents 8e9b574 + 5839ca2 commit cf1f227

File tree

5 files changed

+12
-670
lines changed

5 files changed

+12
-670
lines changed

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
git+https://github.com/AleksandarPetrov/napoleon.git@0dc3f28a309ad602be5f44a9049785a1026451b3#egg=sphinxcontrib-napoleon
22
git+https://github.com/rwblair/sphinxcontrib-versioning.git@39b40b0b84bf872fc398feff05344051bbce0f63#egg=sphinxcontrib-versioning
33
nbsphinx
4-
nipype>=1.3.1
4+
git+https://github.com/nipy/nipype.git@master#egg=nipype
55
nitransforms >= 20.0.0rc3,<20.2
66
packaging
77
pydot>=1.2.3

niworkflows/anat/ants.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,20 @@
1313
from nipype.pipeline import engine as pe
1414
from nipype.interfaces import utility as niu
1515
from nipype.interfaces.fsl.maths import ApplyMask
16-
from nipype.interfaces.ants import N4BiasFieldCorrection, Atropos, MultiplyImages
16+
from nipype.interfaces.ants import (
17+
AI,
18+
Atropos,
19+
ImageMath,
20+
MultiplyImages,
21+
N4BiasFieldCorrection,
22+
ResampleImageBySpacing,
23+
ThresholdImage,
24+
)
1725

1826
from ..utils.misc import get_template_specs
1927
from ..utils.connections import pop_file as _pop
2028

2129
# niworkflows
22-
from ..interfaces.ants import (
23-
ImageMath,
24-
ResampleImageBySpacing,
25-
AI,
26-
ThresholdImage,
27-
)
2830
from ..interfaces.fixes import (
2931
FixHeaderRegistration as Registration,
3032
FixHeaderApplyTransforms as ApplyTransforms,

niworkflows/func/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
from nipype.pipeline import engine as pe
88
from nipype.interfaces import utility as niu, fsl, afni
9+
from nipype.interfaces.ants.utils import AI
910

1011
from templateflow.api import get as get_template
1112

1213
from ..engine.workflows import LiterateWorkflow as Workflow
13-
from ..interfaces.ants import AI
1414
from ..interfaces.fixes import (
1515
FixHeaderRegistration as Registration,
1616
FixHeaderApplyTransforms as ApplyTransforms,

0 commit comments

Comments
 (0)