Skip to content

Commit 42d00c7

Browse files
committed
fix formatting
1 parent 5cbbb14 commit 42d00c7

File tree

1 file changed

+39
-67
lines changed

1 file changed

+39
-67
lines changed

nipype/interfaces/fsl/epi.py

Lines changed: 39 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -608,16 +608,13 @@ class EddyInputSpec(FSLCommandInputSpec):
608608
field = File(
609609
exists=True,
610610
argstr="--field=%s",
611-
desc=("Non-topup derived fieldmap scaled in Hz"),
611+
desc="Non-topup derived fieldmap scaled in Hz",
612612
)
613613
field_mat = File(
614614
exists=True,
615615
argstr="--field_mat=%s",
616-
desc=(
617-
"Matrix specifying the relative positions of "
618-
"the fieldmap, --field, and the first volume "
619-
"of the input file, --imain"
620-
),
616+
desc="Matrix specifying the relative positions of the fieldmap, "
617+
"--field, and the first volume of the input file, --imain",
621618
)
622619

623620
flm = traits.Enum(
@@ -656,26 +653,26 @@ class EddyInputSpec(FSLCommandInputSpec):
656653
default_value=1000,
657654
usedefault=True,
658655
argstr="--nvoxhp=%s",
659-
desc=("# of voxels used to estimate the " "hyperparameters"),
656+
desc="# of voxels used to estimate the hyperparameters",
660657
)
661658
fudge_factor = traits.Float(
662659
default_value=10.0,
663660
usedefault=True,
664661
argstr="--ff=%s",
665-
desc=("Fudge factor for hyperparameter " "error variance"),
662+
desc="Fudge factor for hyperparameter error variance",
666663
)
667664
dont_sep_offs_move = traits.Bool(
668665
False,
669666
argstr="--dont_sep_offs_move",
670-
desc=("Do NOT attempt to separate " "field offset from subject " "movement"),
667+
desc="Do NOT attempt to separate field offset from subject movement",
671668
)
672669
dont_peas = traits.Bool(
673670
False,
674671
argstr="--dont_peas",
675-
desc="Do NOT perform a post-eddy alignment of " "shells",
672+
desc="Do NOT perform a post-eddy alignment of shells",
676673
)
677674
fwhm = traits.Float(
678-
desc=("FWHM for conditioning filter when estimating " "the parameters"),
675+
desc="FWHM for conditioning filter when estimating the parameters",
679676
argstr="--fwhm=%s",
680677
)
681678
niter = traits.Int(
@@ -686,7 +683,7 @@ class EddyInputSpec(FSLCommandInputSpec):
686683
"lsr",
687684
usedefault=True,
688685
argstr="--resamp=%s",
689-
desc=("Final resampling method (jacobian/least " "squares)"),
686+
desc="Final resampling method (jacobian/least squares)",
690687
)
691688

692689
repol = traits.Bool(
@@ -735,9 +732,7 @@ class EddyInputSpec(FSLCommandInputSpec):
735732
1,
736733
-1,
737734
argstr="--mb_offs=%d",
738-
desc=(
739-
"Multi-band offset (-1 if bottom slice removed, 1 if " "top slice removed"
740-
),
735+
desc="Multi-band offset (-1 if bottom slice removed, 1 if top slice removed",
741736
requires=["multiband_factor"],
742737
min_ver="5.0.10",
743738
)
@@ -816,11 +811,8 @@ class EddyInputSpec(FSLCommandInputSpec):
816811
is_shelled = traits.Bool(
817812
False,
818813
argstr="--data_is_shelled",
819-
desc=(
820-
"Override internal check to ensure that "
821-
"date are acquired on a set of b-value "
822-
"shells"
823-
),
814+
desc="Override internal check to ensure that date are acquired "
815+
"on a set of b-value shells",
824816
)
825817

826818
use_cuda = traits.Bool(False, desc="Run eddy using cuda gpu")
@@ -838,9 +830,7 @@ class EddyOutputSpec(TraitedSpec):
838830
)
839831
out_parameter = File(
840832
exists=True,
841-
desc=(
842-
"Text file with parameters defining the field and" "movement for each scan"
843-
),
833+
desc="Text file with parameters defining the field and movement for each scan",
844834
)
845835
out_rotated_bvecs = File(
846836
exists=True, desc="File containing rotated b-values for all volumes"
@@ -855,74 +845,56 @@ class EddyOutputSpec(TraitedSpec):
855845
)
856846
out_shell_alignment_parameters = File(
857847
exists=True,
858-
desc=(
859-
"Text file containing rigid body movement parameters "
860-
"between the different shells as estimated by a "
861-
"post-hoc mutual information based registration"
862-
),
848+
desc="Text file containing rigid body movement parameters "
849+
"between the different shells as estimated by a "
850+
"post-hoc mutual information based registration",
863851
)
864852
out_shell_pe_translation_parameters = File(
865853
exists=True,
866-
desc=(
867-
"Text file containing translation along the PE-direction "
868-
"between the different shells as estimated by a "
869-
"post-hoc mutual information based registration"
870-
),
854+
desc="Text file containing translation along the PE-direction "
855+
"between the different shells as estimated by a "
856+
"post-hoc mutual information based registration",
871857
)
872858
out_shell_pe_translation_parameters = File(
873859
exists=True,
874-
desc=(
875-
"Text file containing translation along the PE-direction "
876-
"between the different shells as estimated by a "
877-
"post-hoc mutual information based registration"
878-
),
860+
desc="Text file containing translation along the PE-direction "
861+
"between the different shells as estimated by a "
862+
"post-hoc mutual information based registration",
879863
)
880864
out_outlier_map = File(
881865
exists=True,
882-
desc=(
883-
"Matrix where rows represent volumes and columns represent "
884-
'slices. "0" indicates that scan-slice is not an outlier '
885-
'and "1" indicates that it is'
886-
),
866+
desc="Matrix where rows represent volumes and columns represent "
867+
'slices. "0" indicates that scan-slice is not an outlier '
868+
'and "1" indicates that it is',
887869
)
888870
out_outlier_n_stdev_map = File(
889871
exists=True,
890-
desc=(
891-
"Matrix where rows represent volumes and columns represent "
892-
"slices. Values indicate number of standard deviations off the "
893-
"mean difference between observation and prediction is"
894-
),
872+
desc="Matrix where rows represent volumes and columns represent "
873+
"slices. Values indicate number of standard deviations off the "
874+
"mean difference between observation and prediction is",
895875
)
896876
out_outlier_n_sqr_stdev_map = File(
897877
exists=True,
898-
desc=(
899-
"Matrix where rows represent volumes and columns represent "
900-
"slices. Values indicate number of standard deivations off the "
901-
"square root of the mean squared difference between observation "
902-
"and prediction is"
903-
),
878+
desc="Matrix where rows represent volumes and columns represent "
879+
"slices. Values indicate number of standard deivations off the "
880+
"square root of the mean squared difference between observation "
881+
"and prediction is",
904882
)
905883
out_outlier_report = File(
906884
exists=True,
907-
desc=(
908-
"Text file with a plain language report on what "
909-
"outlier slices eddy has found"
910-
),
885+
desc="Text file with a plain language report on what "
886+
"outlier slices eddy has found",
911887
)
912888
out_outlier_free = File(
913889
exists=True,
914-
desc=(
915-
"4D image file not corrected for susceptibility or eddy-"
916-
"current distortions or subject movement but with outlier "
917-
"slices replaced"
918-
),
890+
desc="4D image file not corrected for susceptibility or eddy-"
891+
"current distortions or subject movement but with outlier "
892+
"slices replaced",
919893
)
920894
out_movement_over_time = File(
921895
exists=True,
922-
desc=(
923-
"Text file containing translations (mm) and rotations "
924-
"(radians) for each excitation"
925-
),
896+
desc="Text file containing translations (mm) and rotations "
897+
"(radians) for each excitation",
926898
)
927899
out_cnr_maps = File(exists=True, desc="path/name of file with the cnr_maps")
928900
out_residuals = File(exists=True, desc="path/name of file with the residuals")

0 commit comments

Comments
 (0)