Skip to content

Commit 78e2950

Browse files
author
Clark
committed
PEP8 compliance for base.py
1 parent 1adac29 commit 78e2950

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

nipype/interfaces/spm/base.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@
1414
spm.SPMCommand().version
1515
"""
1616

17+
# Standard library imports
1718
from __future__ import print_function
1819
from builtins import range
1920
from builtins import object
20-
21-
__docformat__ = 'restructuredtext'
22-
23-
# Standard library imports
2421
import os
2522
from copy import deepcopy
2623

@@ -38,6 +35,8 @@
3835
from ... import logging
3936
logger = logging.getLogger('interface')
4037

38+
__docformat__ = 'restructuredtext'
39+
4140

4241
def func_is_3d(in_file):
4342
"""Checks if input functional files are 3d."""
@@ -216,7 +215,8 @@ class SPMCommandInputSpec(BaseInterfaceInputSpec):
216215
usedefault=True)
217216
use_mcr = traits.Bool(desc='Run m-code using SPM MCR')
218217
use_v8struct = traits.Bool(True, min_ver='8', usedefault=True,
219-
desc=('Generate SPM8 and higher compatible jobs')
218+
desc=('Generate SPM8 and higher '
219+
'compatible jobs')
220220
)
221221

222222

@@ -483,8 +483,8 @@ def _make_matlab_command(self, contents, postscript=None):
483483
contents[0])
484484
else:
485485
if self.jobname in ['st', 'smooth', 'preproc', 'preproc8',
486-
'fmri_spec', 'fmri_est', 'factorial_design',
487-
'defs']:
486+
'fmri_spec', 'fmri_est',
487+
'factorial_design', 'defs']:
488488
# parentheses
489489
mscript += self._generate_job('jobs{1}.%s{1}.%s(1)' %
490490
(self.jobtype, self.jobname),

0 commit comments

Comments
 (0)