Skip to content

Commit 9b1249a

Browse files
committed
FIX: Update imports from module with __all__ defined
1 parent 578a4ad commit 9b1249a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

niworkflows/interfaces/reportlets/registration.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
)
3333
from nipype.interfaces.mixins import reporting
3434
from nipype.interfaces import freesurfer as fs
35-
from nipype.interfaces import fsl, ants
35+
from nipype.interfaces import fsl
36+
from nipype.interfaces.ants import registration, resampling
3637

3738
from ... import NIWORKFLOWS_LOG
3839
from . import base as nrb
@@ -82,13 +83,13 @@ def _post_run_hook(self, runtime):
8283

8384

8485
class _ANTSRegistrationInputSpecRPT(
85-
nrb._SVGReportCapableInputSpec, ants.registration.RegistrationInputSpec
86+
nrb._SVGReportCapableInputSpec, registration.RegistrationInputSpec
8687
):
8788
pass
8889

8990

9091
class _ANTSRegistrationOutputSpecRPT(
91-
reporting.ReportCapableOutputSpec, ants.registration.RegistrationOutputSpec
92+
reporting.ReportCapableOutputSpec, registration.RegistrationOutputSpec
9293
):
9394
pass
9495

@@ -110,13 +111,13 @@ def _post_run_hook(self, runtime):
110111

111112

112113
class _ANTSApplyTransformsInputSpecRPT(
113-
nrb._SVGReportCapableInputSpec, ants.resampling.ApplyTransformsInputSpec
114+
nrb._SVGReportCapableInputSpec, resampling.ApplyTransformsInputSpec
114115
):
115116
pass
116117

117118

118119
class _ANTSApplyTransformsOutputSpecRPT(
119-
reporting.ReportCapableOutputSpec, ants.resampling.ApplyTransformsOutputSpec
120+
reporting.ReportCapableOutputSpec, resampling.ApplyTransformsOutputSpec
120121
):
121122
pass
122123

0 commit comments

Comments
 (0)