Skip to content

Commit 67f10e5

Browse files
committed
FIX: PEP8 - E703 statement ends with a semicolon
1 parent 1034f30 commit 67f10e5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

nipype/algorithms/metrics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,8 @@ def _list_outputs(self):
463463
outputs[method] = getattr(self, '_' + method)
464464
# outputs['volume_difference'] = self._volume
465465
outputs['diff_file'] = os.path.abspath(self.inputs.out_file)
466-
outputs['class_fji'] = np.array(self._jaccards).astype(float).tolist();
467-
outputs['class_fdi'] = self._dices.astype(float).tolist();
466+
outputs['class_fji'] = np.array(self._jaccards).astype(float).tolist()
467+
outputs['class_fdi'] = self._dices.astype(float).tolist()
468468
return outputs
469469

470470

nipype/interfaces/spm/tests/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class TestClass(spm.SPMCommand):
9393
yield assert_equal, dc._use_mcr, True
9494
yield assert_equal, dc._matlab_cmd, 'spmcmd'
9595
# restore environment
96-
os.environ.clear();
96+
os.environ.clear()
9797
os.environ.update(saved_env)
9898

9999

nipype/workflows/dmri/fsl/epi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ def _vsm_remove_mean(in_file, mask_file, in_unwarped):
788788

789789

790790
def _ms2sec(val):
791-
return val*1e-3;
791+
return val*1e-3
792792

793793

794794
def _split_dwi(in_file):

0 commit comments

Comments
 (0)