diff --git a/macapype/nodes/pad.py b/macapype/nodes/pad.py index fad64694..655539dc 100644 --- a/macapype/nodes/pad.py +++ b/macapype/nodes/pad.py @@ -1,10 +1,7 @@ -import nipype.interfaces.utility as niu import nipype.pipeline.engine as pe -from macapype.nodes.prepare import padding_cropped_img - from nipype.interfaces.niftyreg.regutils import RegResample diff --git a/macapype/pipelines/prepare.py b/macapype/pipelines/prepare.py index 19842334..cfcad427 100644 --- a/macapype/pipelines/prepare.py +++ b/macapype/pipelines/prepare.py @@ -13,7 +13,7 @@ from ..utils.utils_nodes import NodeParams from ..utils.misc import parse_key -from ..nodes.prepare import average_align, FslOrient +from ..nodes.prepare import average_align from ..nodes.register import pad_zero_mri @@ -74,6 +74,7 @@ def _create_avg_reorient_pipeline(name="avg_reorient_pipe", params={}): # main pipeline: "short_preparation_pipe" ############################################################################### + def create_short_preparation_pipe(params, params_template={}, name="short_preparation_pipe"): """Description: short data preparation (average, reorient, crop/betcrop \