View Full Version : 'non-existent field 'Measures' in generated sources ?
ROGER DE GARDELLE
October 16th, 2006, 04:04
Hi,
I did some sources reconstruction with a script adapted from bst_forwardInverse , but the results are not readable by the data manager (allthough the data manager finds the results files), due to this error
Reference to non-existent field 'Measures'.
When I do the localisation with the BST interface it's ok.
My version is quite recent.
What can I do ?
-Vincent
Sylvain
October 16th, 2006, 04:51
I was not able to reproduce this bug. However, bstscript_Forward_Inverse was destroying the user's database. I've fixed this so that your database integrity is respected.
Launching the script now creates a new database entry on line 87 to which you may give an arbitrary name.
I've updated database_manager so that the previous issue of DB integrity violation was problematic, thereby maybe causing you trouble.
Note that the 'Measures' missing message comes from the DataViewer. Close all Guis (especially the DataViewer) or even quit and restart BST.
If it still fails I suggest that once you have updated the files, you rerun the bstscript to get a new result file and a valid database.
thanks again for pointing at this issue!
ROGER DE GARDELLE
October 16th, 2006, 06:51
I updated brainstorm, rerun my script, but the results files are still considered 'unavailable' when I want to load them from the DataManager...
BUT ...
If I select the resultfile in the brainstorm window, which I usually don't, then it's ok, I can view my results. I just have to click on 'plot' in the imaging part of the DataViewer, it displays the data time series,
(and a warning: Variable 'ImageGrid' not found. > In dataplot_cb at 1470 In sourceimaging at 605)
and then a new window appears which asks me to 'select an envelope from list 'CSF - skull - scalp - white matter', I select 'white matter' and the brain appears.
BUT ...
When I click on setup in the imaging part of the DataViewer, in order to create a great movie for my family, or a wonduerful contact sheet that would be a perfect illustration ;) for my future article, I got
> In dataplot_cb at 1470
In sourceimaging at 605
??? Undefined command/function 'set_sourceviewing_parameters'.
Error in ==> dataplot_cb at 1835
set_sourceviewing_parameters('create')
??? Error while evaluating uicontrol Callback.
Aargh...
Thanks for all,
-Vincent
Sylvain
October 16th, 2006, 10:46
I really suggest you load your Results files from the pulldown menu in the static taskbar. Loading from the DataManager is not guaranteed yet.
As for the SetUp button, please use the one in the Data Viewing frame of the DataViewer. I will disable the one in the Source Viewing frame as it is not functional yet.
If you have your time series and the brain map open in SurfaceManager (Source Viewer -> Plot button), then 2 movies will be created and saved e.g. my_movie.avi and my_movie_surf.avi where the *_surf suffix is for the brain movie.
A Matlab avi player will then open but I do not guarantee how it will look like under the Matlab 7 versions. We'll need to improve this. Movies however can be played using your favorite external player though.
I'm attaching quick fixes that regard this thread. Hope this will help.