File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -476,9 +476,7 @@ def _concatenate_info(self, infolist):
476476 sum (nscans [0 :(i + 1 )])
477477 infoout .onsets [j ].extend (onsets .tolist ())
478478 for j , val in enumerate (info .durations ):
479- if len (val ) > 1 :
480- print 'new script installed'
481- import pdb ; pdb .set_trace () # breakpoint aaf99b04 //
479+ if len (val ) > 0 :
482480 infoout .durations [j ].extend (info .durations [j ])
483481 if hasattr (info , 'amplitudes' ) and info .amplitudes :
484482 for j , val in enumerate (info .amplitudes ):
@@ -499,7 +497,7 @@ def _concatenate_info(self, infolist):
499497 onelist = np .zeros ((1 , sum (nscans )))
500498 onelist [0 , sum (nscans [0 :i ]):sum (nscans [0 :(i + 1 )])] = 1
501499 infoout .regressors .insert (len (infoout .regressors ),
502- onelist .tolist ()[0 ])
500+ onelist .tolist ()[0 ])
503501 return [infoout ], nscans
504502
505503 def _generate_design (self , infolist = None ):
You can’t perform that action at this time.
0 commit comments