Skip to content

Commit b5bf7d1

Browse files
committed
changed cope number type to integer
1 parent fd4264f commit b5bf7d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/fsl/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ class L2Model(BaseInterface):
11341134
def _run_interface(self, runtime):
11351135
cwd = os.getcwd()
11361136
mat_txt = ['/NumWaves 1',
1137-
'/NumPoints {}'.format(self.inputs.num_copes),
1137+
'/NumPoints {:d}'.format(self.inputs.num_copes),
11381138
'/PPheights 1',
11391139
'',
11401140
'/Matrix']
@@ -1154,7 +1154,7 @@ def _run_interface(self, runtime):
11541154
con_txt = '\n'.join(con_txt)
11551155

11561156
grp_txt = ['/NumWaves 1',
1157-
'/NumPoints {}'.format(self.inputs.num_copes),
1157+
'/NumPoints {:d}'.format(self.inputs.num_copes),
11581158
'',
11591159
'/Matrix']
11601160
for i in range(self.inputs.num_copes):

0 commit comments

Comments
 (0)