Skip to content

Commit 56a02f2

Browse files
committed
Reformatted preprocess.py.
1 parent 4f2511f commit 56a02f2

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

nipype/interfaces/cat12/preprocess.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,17 @@ class CAT12SegmentInputSpec(SPMCommandInputSpec):
4444
)
4545

4646
_help_shoots_tpm = (
47-
'Shooting Template %d. The Shooting template must be in multi-volume nifti format and should contain GM,'
48-
' WM, and background segmentations and have to be saved with at least 16 bit. '
47+
"Shooting Template %d. The Shooting template must be in multi-volume nifti format and should contain GM,"
48+
" WM, and background segmentations and have to be saved with at least 16 bit. "
4949
)
5050

51-
shooting_tpm = ImageFileSPM(exists=True, field="extopts.registration.shooting.shootingtpm",
52-
desc=_help_shoots_tpm % 0, mandatory=False, copyfile=False)
51+
shooting_tpm = ImageFileSPM(
52+
exists=True,
53+
field="extopts.registration.shooting.shootingtpm",
54+
desc=_help_shoots_tpm % 0,
55+
mandatory=False,
56+
copyfile=False,
57+
)
5358

5459
shooting_tpm_template_1 = ImageFileSPM(
5560
exists=True, desc=_help_shoots_tpm % 1, mandatory=False, copyfile=False
@@ -588,8 +593,6 @@ def _list_outputs(self):
588593

589594

590595
class Cell2Str(Cell):
591-
592596
def __str__(self):
593-
"""Convert input to appropriate format for cat12
594-
"""
597+
"""Convert input to appropriate format for cat12"""
595598
return "{'%s'}" % self.to_string()

0 commit comments

Comments
 (0)