Back to the main page.
Bug 99 - bug in redefine_trial
| Status | CLOSED FIXED |
| Reported | 2010-07-01 13:52:00 +0200 |
| Modified | 2010-07-01 15:07:34 +0200 |
| Product: | FieldTrip |
| Component: | preproc |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Linux |
| Importance: | P1 normal |
| Assigned to: | Joint development user |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
Avgis Hadjipapas - 2010-07-01 13:52:55 +0200
Not sure if any maintenance or changes have been made to redefine_trial. The code would work on exact same data set and script last month or so ... seems to be a bug at this line ??? Error using ==> plus Matrix dimensions must agree. Error in ==> ft_redefinetrial at 162 trl(:,1) = trl(:,1) + begsample - 1; begsample is of length cfg.trials (i.e a selection of trials) but trl(:,1) is longer (i.e. equal to numnber of all trials in dataset)
Jan-Mathijs Schoffelen - 2010-07-01 14:21:58 +0200
thanks for notifying. this is indeed caused by a bug. I fixed the code and hopefully it's alright now. could you (=Avgis) give feedback as to whether it works? (corrected version should be available on /home/common/ in about 15 minutes.