From d3c895643b2d55c591ab5877266e1d5a4160da8b Mon Sep 17 00:00:00 2001 From: Fidel Alfaro Almagro <falmagro@fmrib.ox.ac.uk> Date: Fri, 10 Mar 2023 10:49:48 +0000 Subject: [PATCH] Fixing syntax issues --- bip/pipelines/struct_T1/T1_QC_CNR_corners.py | 2 +- bip/pipelines/struct_T1/T1_QC_CNR_eyes.py | 2 +- bip/pipelines/struct_T1/T1_QC_COG.py | 1 + bip/pipelines/struct_T1/T1_brain_extract.py | 4 ++-- bip/pipelines/struct_T1/T1_defacing.py | 3 ++- bip/pipelines/struct_T1/T1_sienax.py | 1 + bip/pipelines/struct_swMRI/swMRI_proc.py | 4 ++-- 7 files changed, 10 insertions(+), 7 deletions(-) diff --git a/bip/pipelines/struct_T1/T1_QC_CNR_corners.py b/bip/pipelines/struct_T1/T1_QC_CNR_corners.py index 0d75360..5a1f4cc 100755 --- a/bip/pipelines/struct_T1/T1_QC_CNR_corners.py +++ b/bip/pipelines/struct_T1/T1_QC_CNR_corners.py @@ -7,7 +7,7 @@ # Author: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk> # # pylint: disable=C0103,E0602,C0114,C0115,C0116,R0913,R0914,R0915 -# pylint: disable=W0613 +# pylint: disable=W0613,R1704 # import os.path as op diff --git a/bip/pipelines/struct_T1/T1_QC_CNR_eyes.py b/bip/pipelines/struct_T1/T1_QC_CNR_eyes.py index 8680100..8b06547 100755 --- a/bip/pipelines/struct_T1/T1_QC_CNR_eyes.py +++ b/bip/pipelines/struct_T1/T1_QC_CNR_eyes.py @@ -7,7 +7,7 @@ # Author: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk> # # pylint: disable=C0103,E0602,C0114,C0115,C0116,R0913,R0914,R0915 -# pylint: disable=W0613 +# pylint: disable=W0613,R1704 # import os.path as op diff --git a/bip/pipelines/struct_T1/T1_QC_COG.py b/bip/pipelines/struct_T1/T1_QC_COG.py index 7a24ae7..d255ef3 100755 --- a/bip/pipelines/struct_T1/T1_QC_COG.py +++ b/bip/pipelines/struct_T1/T1_QC_COG.py @@ -7,6 +7,7 @@ # Author: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk> # # pylint: disable=C0103,E0602,C0114,C0115,C0116,R0913,R0914,R0915 +# pylint: disable=R1704 # import os.path as op diff --git a/bip/pipelines/struct_T1/T1_brain_extract.py b/bip/pipelines/struct_T1/T1_brain_extract.py index 45178d3..da757e7 100755 --- a/bip/pipelines/struct_T1/T1_brain_extract.py +++ b/bip/pipelines/struct_T1/T1_brain_extract.py @@ -7,14 +7,14 @@ # Author: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk> # # pylint: disable=C0103,E0602,C0114,C0115,C0116,R0913,R0914,R0915 -# pylint: disable=W0613 +# pylint: disable=W0613,R1704 # import os.path as op import logging from shutil import copyfile -from fsl import wrappers from bip.utils.log_utils import redirect_logging, tempdir, job_name +from fsl import wrappers from pipe_tree import In, Out, Ref log = logging.getLogger(__name__) diff --git a/bip/pipelines/struct_T1/T1_defacing.py b/bip/pipelines/struct_T1/T1_defacing.py index eb40f4f..cfe70ba 100755 --- a/bip/pipelines/struct_T1/T1_defacing.py +++ b/bip/pipelines/struct_T1/T1_defacing.py @@ -7,12 +7,13 @@ # Author: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk> # # pylint: disable=C0103,E0602,C0114,C0115,C0116,R0913,R0914,R0915 +# pylint: disable=R1704 # import os.path as op import logging -from fsl import wrappers from pipe_tree import In, Out, Ref +from fsl import wrappers from bip.utils.log_utils import redirect_logging, tempdir, job_name log = logging.getLogger(__name__) diff --git a/bip/pipelines/struct_T1/T1_sienax.py b/bip/pipelines/struct_T1/T1_sienax.py index d8ad24d..034819d 100755 --- a/bip/pipelines/struct_T1/T1_sienax.py +++ b/bip/pipelines/struct_T1/T1_sienax.py @@ -7,6 +7,7 @@ # Author: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk> # # pylint: disable=C0103,E0602,C0114,C0115,C0116,R0913,R0914,R0915 +# pylint: disable=R1704 # import os diff --git a/bip/pipelines/struct_swMRI/swMRI_proc.py b/bip/pipelines/struct_swMRI/swMRI_proc.py index 5edc200..e7552ab 100755 --- a/bip/pipelines/struct_swMRI/swMRI_proc.py +++ b/bip/pipelines/struct_swMRI/swMRI_proc.py @@ -13,12 +13,12 @@ import os.path as op import logging from shutil import copyfile -from fsl import wrappers from pipe_tree import In, Out, Ref +from gradunwarp.core.gradient_unwarp_apply import gradient_unwarp_apply +from fsl import wrappers from bip.utils.log_utils import redirect_logging, job_name from bip.pipelines.struct_swMRI.swMRI_proc_fnc import combine_magnitude_coils from bip.pipelines.struct_swMRI.swMRI_proc_fnc import gen_filtered_phase -from gradunwarp.core.gradient_unwarp_apply import gradient_unwarp_apply log = logging.getLogger(__name__) -- GitLab