View Full Version : right click in data manager does not show up
Ghislaine Dehaene
October 4th, 2006, 07:49
The right click in data manager does not show up when there are too much datasets in Brainstorm folder for the last files when you need to move the sliding arrow to obtain the next files. I suppose that the location of the menu window normally obtained by the right click is in that case ill-placed.
Best
Sylvain
October 5th, 2006, 05:49
Sorry Ghislaine but I was unable to reproduce this bug (last BST version v. 2.2.8 Oct02)
I have a test study folder with 58 data files but things are going OK.
What may happen is that when you have many files in the study folder and subfolders, the BST database takes a while to be explored by DataManager before you have hands on the data and contextual menus. Check that the Matlab command window does not show as 'Busy' at the bottom when you try to right-click as described in your message. If yes, then you need to wait a bit or split your study in several subprotocols.
Hope this helps.
ROGER DE GARDELLE
October 16th, 2006, 03:42
Hi,
I think I am able to reproduce the bug.
I just added some new results files in the dataset, and while refreshing I got the error : 'Index exceeds matrix dimensions'
Then I try to quit and restart brainstorm:
??? Index exceeds matrix dimensions.
Error in ==> make_default_database at 327
if ~exist(UserDB(i).STUDIES,'dir') | ~exist(UserDB(i).SUBJECTS,'dir')
Error in ==> startup at 379
UserDefault = make_default_database(0); % only check the current database
-Vincent
Sylvain
October 16th, 2006, 04:03
Interesting. Thanks Vincent.
may I ask how many results file you have in the same data folder? I'll then do the experiment by myself and solve the issue.
thanks
ROGER DE GARDELLE
October 16th, 2006, 04:10
In fact I the whole study I got 10 subject * 3 directories (because I did some coregistration, I got 3 directories for each subject) * near 50 datafiles by directory, + 1 group directory with 30 datafiles and 30 resultsfiles.
This is huge indeed.
When I remove the brainstormstudy.mat in the no-longer used subject directories (I kept only 1 directory by subject), it's ok with the data manager.
-Vincent
Sylvain
October 16th, 2006, 11:09
Not sure I fully understand how you describe the data organization. I understand you have found a way to counter the issue and that it is workable.
If the contextual menu does not show up, you may still select the data and results files you want to view from the pulldown menus in the static taskbar. Then type dataplot_cb create at the Matlab prompt.
We're keeping this bug record for future fixing if we stumble into it in the near future.
thanks again.