Forum

Notifications
Clear all

AtlasViewer keeps crashing and won't load data

6 Posts
2 Users
1 Likes
273 Views
Isabel Nichoson
Posts: 5
Topic starter
(@inichoso)
Active Member
Joined: 1 year ago

Hello! I'm running a very simple GLM and trying to load the group results into AtlasViewer. I'm using MATLAB R2019b on a Mac system. For some reason, every time I try to load my files, I get this error message:

Error using reducepatch (line 77)
Faces array must contain values >=1
 
Error in reduceMesh (line 53)
    mesh = reducepatch(mesh, R);
 
Error in getPialsurf (line 56)
    pialsurf.mesh_reduced = reduceMesh(pialsurf.mesh);
 
Error in getPialsurf (line 5)
        pialsurf = getPialsurf(pialsurf, dirname0{ii});
 
Error in AtlasViewerGUI>LoadSubj (line 151)
    pialsurf   = getPialsurf(pialsurf, searchPaths);
 
Error in AtlasViewerGUI>AtlasViewerGUI_OpeningFcn (line 442)
LoadSubj(hObject, eventdata, handles, varargin);
 
Error in gui_mainfcn (line 220)
    feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
 
Error in AtlasViewerGUI (line 19)
    gui_mainfcn(gui_State, varargin{:})
 
This seems to be specific to my files—the AtlasViewer test files included as part of the installation process load with no problem. Here is the data that I am trying to run: https://www.dropbox.com/s/fk31njq376e9a8v/1—GLM.zip?dl=0
 
Thank you so much!
5 Replies
Isabel Nichoson
Posts: 5
Topic starter
(@inichoso)
Active Member
Joined: 1 year ago

Sorry! Had to rearrange some files in my dropbox. Here's the updated link to the data/cfg file: https://www.dropbox.com/s/tkkjyqs854crsqp/1%E2%80%94GLM.zip?dl=0

Reply
Isabel Nichoson
Posts: 5
Topic starter
(@inichoso)
Active Member
Joined: 1 year ago

Thank you for the link! I did go back, double checked my cfg file, and reran everything. Unfortunately I still got an error message. Here's the whole output if it's useful:

Added group 1—GLM to dataTree.
Added subject 322873DB-2021-11-22 to group 1—GLM.
Added run 3228_part_1_eng.snirf to subject 322873DB-2021-11-22.
Added subject 464A8A64-2021-11-03 to group 1—GLM.
Added run 464A_part_1_eng.snirf to subject 464A8A64-2021-11-03.
Added subject 496CF3B4_2021-12-16 to group 1—GLM.
Added run 496C_part_1_eng.snirf to subject 496CF3B4_2021-12-16.
Added subject 88452458-2021-10-27 to group 1—GLM.
Added run 8845_part_1_eng.snirf to subject 88452458-2021-10-27.
Added subject 9A5528ED-2021-10-14 to group 1—GLM.
Added run 9A55_part_1_eng.snirf to subject 9A5528ED-2021-10-14.
Added subject A5132BBB-2021-11-01 to group 1—GLM.
Added run A513_part_1_eng.snirf to subject A5132BBB-2021-11-01.
Added subject C1F56AFE-2021-11-18 to group 1—GLM.
Added run C1F5_part_1_eng.snirf to subject C1F56AFE-2021-11-18.

Loaded group 1—GLM acquisition data in 1.5 seconds
Derived data output folder : /Users/in65/Desktop/ByCond/MovieEng/1—GLM/homerOutput/
Derived data output file : groupResults.mat

Saved group data, version 1.2.0 exists
Loaded data set in 2.4 seconds
Loading fNIRS data from 322873DB-2021-11-22/3228_part_1_eng.snirf ...
MC application path = /Users/in65/Desktop/AtlasViewer/ForwardModel/tMCimg/bin/Darwin/
MC application binary = tMCimg

Error using reducepatch (line 77)
Faces array must contain values >=1

Error in reduceMesh (line 53)
mesh = reducepatch(mesh, R);

Error in getPialsurf (line 56)
pialsurf.mesh_reduced = reduceMesh(pialsurf.mesh);

Error in getPialsurf (line 5)
pialsurf = getPialsurf(pialsurf, dirname0{ii});

Error in AtlasViewerGUI>LoadSubj (line 151)
pialsurf = getPialsurf(pialsurf, searchPaths);

Error in AtlasViewerGUI>AtlasViewerGUI_OpeningFcn (line 442)
LoadSubj(hObject, eventdata, handles, varargin);

Error in gui_mainfcn (line 220)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});

Error in AtlasViewerGUI (line 19)
gui_mainfcn(gui_State, varargin{:});

Reply
Isabel Nichoson
Posts: 5
Topic starter
(@inichoso)
Active Member
Joined: 1 year ago

I don't know if it's relevant but when I open AtlasViewer, I get this warning:

Warning: Cannot load an object of class 'TableSelectionStorage':
Its class cannot be found.
> In matlab.graphics.internal.figfile.FigFile/read (line 31)
In matlab.graphics.internal.figfile.FigFile
In hgload (line 54)
In matlab.hg.internal.openfigLegacy (line 57)
In gui_mainfcn>local_openfig (line 286)
In gui_mainfcn (line 158)
In AtlasViewerGUI (line 19)

Thanks!

Reply
Sreekanth kura
Posts: 14
(@skurabu-edu)
Joined: 2 years ago

Hi Isabel,

I just downloaded your data and was able to load it successfully. Which version of the AtlasViewer you are using? Can you try with AtlasViewer master branch? 

Thanks,

Sreekanth

Reply
Page 1 / 2
Share:
en_USEnglish