File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -250,13 +250,22 @@ def _create_ev_files(
250
250
element = count ,
251
251
ctype = ctype , val = val )
252
252
ev_txt += "\n "
253
- if con [0 ] in con_map .keys ():
254
- for fconidx in con_map [con [0 ]]:
255
- ev_txt += contrast_ftest_element .substitute (
256
- cnum = ftest_idx .index (fconidx ) + 1 ,
257
- element = tidx ,
258
- ctype = ctype ,
259
- val = 1 )
253
+ # if con[0] in con_map.keys():
254
+ # for fconidx in con_map[con[0]]:
255
+ # ev_txt += contrast_ftest_element.substitute(
256
+ # cnum=ftest_idx.index(fconidx) + 1,
257
+ # element=tidx,
258
+ # ctype=ctype,
259
+ # val=1)
260
+ for fconidx in ftest_idx :
261
+ fval = 0
262
+ if con [0 ] in con_map .keys () and fconidx in con_map [con [0 ]]:
263
+ fval = 1
264
+ ev_txt += contrast_ftest_element .substitute (
265
+ cnum = ftest_idx .index (fconidx ) + 1 ,
266
+ element = tidx ,
267
+ ctype = ctype ,
268
+ val = fval )
260
269
ev_txt += "\n "
261
270
262
271
# add contrast mask info
You can’t perform that action at this time.
0 commit comments