File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -1133,28 +1133,28 @@ class L2Model(BaseInterface):
1133
1133
1134
1134
def _run_interface (self , runtime ):
1135
1135
cwd = os .getcwd ()
1136
- mat_txt = ['/NumWaves 1' ,
1137
- '/NumPoints %d' % self .inputs .num_copes ,
1138
- '/PPheights %e' % 1 ,
1136
+ mat_txt = ['/NumWaves 1' ,
1137
+ '/NumPoints {:d}' . format ( self .inputs .num_copes ) ,
1138
+ '/PPheights 1' ,
1139
1139
'' ,
1140
1140
'/Matrix' ]
1141
1141
for i in range (self .inputs .num_copes ):
1142
- mat_txt += ['%e' % 1 ]
1142
+ mat_txt += ['1' ]
1143
1143
mat_txt = '\n ' .join (mat_txt )
1144
1144
1145
- con_txt = ['/ContrastName1 group mean' ,
1146
- '/NumWaves 1' ,
1145
+ con_txt = ['/ContrastName1 group mean' ,
1146
+ '/NumWaves 1' ,
1147
1147
'/NumContrasts 1' ,
1148
- '/PPheights %e' % 1 ,
1149
- '/RequiredEffect 100.0 ' , # XX where does this
1148
+ '/PPheights 1' ,
1149
+ '/RequiredEffect 100' , # XX where does this
1150
1150
# number come from
1151
1151
'' ,
1152
1152
'/Matrix' ,
1153
- '%e' % 1 ]
1153
+ '1' ]
1154
1154
con_txt = '\n ' .join (con_txt )
1155
1155
1156
- grp_txt = ['/NumWaves 1' ,
1157
- '/NumPoints %d' % self .inputs .num_copes ,
1156
+ grp_txt = ['/NumWaves 1' ,
1157
+ '/NumPoints {:d}' . format ( self .inputs .num_copes ) ,
1158
1158
'' ,
1159
1159
'/Matrix' ]
1160
1160
for i in range (self .inputs .num_copes ):
You can’t perform that action at this time.
0 commit comments