Skip to content

Commit 836d100

Browse files
committed
🎨 Remove duplicate imports
1 parent 8d80941 commit 836d100

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

CPAC/pipeline/engine/resource.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
from nipype.interfaces import utility as util # type: ignore [import-untyped]
3232
from nipype.interfaces.utility import Rename # type: ignore [import-untyped]
33-
from nipype.pipeline import engine as pe
33+
from nipype.pipeline import engine as pe # type: ignore [import-untyped]
3434

3535
from CPAC.image_utils.spatial_smoothing import spatial_smoothing
3636
from CPAC.image_utils.statistical_transforms import (
@@ -43,6 +43,7 @@
4343
NODEBLOCK_INPUTS,
4444
NODEBLOCK_OUTPUTS,
4545
NodeBlockFunction,
46+
PIPELINE_BLOCKS,
4647
)
4748
from CPAC.pipeline.utils import name_fork, source_set
4849
from CPAC.registration.registration import transform_derivative
@@ -485,12 +486,6 @@ def get(
485486
class ResourcePool(_Pool):
486487
"""A pool of :py:class:`Resource` s."""
487488

488-
from CPAC.pipeline.engine.nodeblock import (
489-
NODEBLOCK_INPUTS,
490-
NodeBlockFunction,
491-
PIPELINE_BLOCKS,
492-
)
493-
494489
def __init__(
495490
self,
496491
name: str = "",

0 commit comments

Comments
 (0)