Skip to content

Commit ae91a01

Browse files
committed
FIX: PEP8 - E262 inline comment should start with '# '
1 parent f7e16fd commit ae91a01

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/dmri_mrtrix_dti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import nipype.interfaces.io as nio # Data i/o
2323
import nipype.interfaces.utility as util # utility
2424
import nipype.pipeline.engine as pe # pypeline engine
25-
import nipype.interfaces.mrtrix as mrtrix #<---- The important new part!
25+
import nipype.interfaces.mrtrix as mrtrix # <---- The important new part!
2626
import nipype.interfaces.fsl as fsl
2727
import nipype.algorithms.misc as misc
2828
import os, os.path as op # system functions

nipype/external/cloghandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def shouldRollover(self, record):
319319
def _shouldRollover(self):
320320
if self.maxBytes > 0: # are we rolling over?
321321
try:
322-
self.stream.seek(0, 2) #due to non-posix-compliant Windows feature
322+
self.stream.seek(0, 2) # due to non-posix-compliant Windows feature
323323
except IOError:
324324
return True
325325
if self.stream.tell() >= self.maxBytes:

nipype/interfaces/spm/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def _format_arg(self, opt, spec, val):
116116
"""
117117
if opt in ['spm_mat_dir', 'mask_image']:
118118
return np.array([str(val)], dtype=object)
119-
if opt in ['session_info']: #, 'factor_info']:
119+
if opt in ['session_info']: # , 'factor_info']:
120120
if isinstance(val, dict):
121121
return [val]
122122
else:
@@ -719,7 +719,7 @@ class FactorialDesignInputSpec(SPMCommandInputSpec):
719719
desc='threshold using a proportion of the global value')
720720
use_implicit_threshold = traits.Bool(field='masking.im',
721721
desc='use implicit mask NaNs or zeros to threshold')
722-
explicit_mask_file = File(field='masking.em', #requires cell
722+
explicit_mask_file = File(field='masking.em', # requires cell
723723
desc='use an implicit mask file to threshold')
724724
global_calc_omit = traits.Bool(field='globalc.g_omit',
725725
xor=['global_calc_mean', 'global_calc_values'],

0 commit comments

Comments
 (0)