PDA

View Full Version : version 14 June 2004 error message


JLH
June 15th, 2004, 09:30
Dear Sylvain and BS expert,
in previously version, I can import raw data or txt data. in this version, I always get error message:
BrainStorm Toolbox Version 2.0 (Alpha) 14-Jun-2004
If you cannot see BrainStorm windows, try typing bst_layout('full') at the command prompt
to reset window locations to their default full screen.
??? Error using ==> save
Variable 'SourceOrder' not found.

Error in ==> c:\bst\Toolbox\importdata.m (save_sensor_locs)
On line 2520 ==> save sensor_result SourceLoc SourceOrder DataFlag Comment

Error in ==> c:\bst\Toolbox\importdata.m
On line 1429 ==> save_sensor_locs(Channel) % local subfunction

Error in ==> c:\bst\Toolbox\importdata.m
On line 703 ==> importdata('fromRAW')

??? Error while evaluating uicontrol Callback.
if I use previously importdata.m file, it can work
others seem good
thank for rapid updata of latest version

Sylvain
June 15th, 2004, 09:37
??? Error using ==> save
Variable 'SourceOrder' not found.

Error in ==> c:\bst\Toolbox\importdata.m (save_sensor_locs)
On line 2520 ==> save sensor_result SourceLoc SourceOrder DataFlag Comment


Hi JLH,
it seems it is related to the fact that no meg or eeg channel were not properly detected in your data. See importdata.m line 2513-18. It seems like meg and eeg might well be empty vectors :?: . Could you please place a debug point in the loop to check the value of meg and eeg.

Thanks -

JLH
June 15th, 2004, 11:04
Dear Sylvain,
it is very strange. I set the debug point in 2513 and find the Channel is 1*19 structural array with field. but the nchan is []. in the old version, the nchan is 19. I can see the channel file is save properly but the data file and source_result did not save. strange

Sylvain
June 16th, 2004, 02:48
Hi JLH,

strange indeed. Are you trying to import the newest version of the sample raw data provided with the Jun 14 BrainStorm version ?

:arrow: If not, please send me the raw data you're trying to import by email.

Cheers.

John Mosher
June 16th, 2004, 15:40
My fault, I introduced a bug in yesterday's patches, fixed in the next release.