From 0c3f76dbe2d1a3662a66bbba373b5cf80db89117 Mon Sep 17 00:00:00 2001 From: David Meunier Date: Thu, 21 Nov 2024 17:19:19 +0100 Subject: [PATCH] flake8 --- macapype/nodes/pad.py | 3 --- macapype/pipelines/prepare.py | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) 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 \