Skip to content

Commit 97cc7d3

Browse files
committed
fixed merge mistake
1 parent c765493 commit 97cc7d3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -772,11 +772,11 @@ class Segment(SPMCommand):
772772
def __init__(self, **inputs):
773773
_local_version = SPMCommand().version
774774
if _local_version and '12.' in _local_version:
775-
_jobtype = 'tools'
776-
_jobname = 'oldseg'
775+
self._jobtype = 'tools'
776+
self._jobname = 'oldseg'
777777
else:
778-
_jobtype = 'spatial'
779-
_jobname = 'preproc'
778+
self._jobtype = 'spatial'
779+
self._jobname = 'preproc'
780780

781781
SPMCommand.__init__(self, **inputs)
782782

@@ -901,11 +901,11 @@ class NewSegment(SPMCommand):
901901
def __init__(self, **inputs):
902902
_local_version = SPMCommand().version
903903
if _local_version and '12.' in _local_version:
904-
_jobtype = 'spatial'
905-
_jobname = 'preproc'
904+
self._jobtype = 'spatial'
905+
self._jobname = 'preproc'
906906
else:
907-
_jobtype = 'tools'
908-
_jobname = 'preproc8'
907+
self._jobtype = 'tools'
908+
self._jobname = 'preproc8'
909909

910910
SPMCommand.__init__(self, **inputs)
911911

0 commit comments

Comments
 (0)