Forum

Notifications
Clear all

Error When Loading .Nirs files and Converting to Snirf Files

1 Posts
1 Users
0 Likes
40 Views
Posts: 7
Topic starter
(@hattonsl)
Active Member
Joined: 2 months ago

Hello, 

I am having troubles loading my files. I have .nirs files. It is asking me to convert .nirs to Snirf. But when I hit yes, I get this error. 

 

Error using hdf5lib2
The class of input data must be integer instead of int32 when the HDF5 class is H5T_STD_U64LE.

Error in H5D.write (line 100)
H5ML.hdf5lib2('H5Dwrite', varargin{:});

Error in hdf5write_safe>write_integer (line 101)
H5D.write(dsid, tid, 'H5S_ALL', 'H5S_ALL', 'H5P_DEFAULT', int32(val));

Error in hdf5write_safe (line 52)
write_integer(fid, name, val);

Error in MeasListClass/SaveHdf5 (line 171)
hdf5write_safe(fid, [location, '/sourceIndex'], uint64(obj.sourceIndex));

Error in DataClass/SaveHdf5 (line 248)
obj.measurementList(ii).SaveHdf5(fid, [location, '/measurementList', num2str(ii)]);

Error in SnirfClass/SaveData (line 672)
obj.data(ii).SaveHdf5(fileobj, [obj.location, '/data', num2str(ii)]);

Error in SnirfClass/SaveHdf5 (line 742)
obj.SaveData(obj.fid);

Error in FileLoadSaveClass/Save (line 78)
obj.SaveHdf5(filename, params);

Error in Nirs2Snirf (line 65)
snirf(ii).Save(dst);

Error in FindFiles (line 84)
Nirs2Snirf(dirnameGroup, filesSrc.files(~found));

Error in DataTreeClass/FindAndLoadGroups (line 268)
dataInit = FindFiles(obj.dirnameGroups{kk}, fmt, options);

Error in DataTreeClass (line 98)
obj.FindAndLoadGroups(groupDirs, fmt, procStreamCfgFile, options);

Error in LoadDataTree (line 50)
dataTree = DataTreeClass(groupDirs, fmt, procStreamCfgFile);

Error in MainGUI>MainGUI_OpeningFcn (line 256)
maingui.dataTree = LoadDataTree(maingui.groupDirs, maingui.format, procStreamFile);

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

Error in MainGUI (line 19)
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});

Error in Homer3 (line 58)
unitTest = MainGUI(groupDirs, inputFileFormat, unitTest, 'userargs');

 

Thank you, 

Shelby

Share:
en_USEnglish