-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Unexpected attributes with nwbRead Dandiset 000115 #470
Comments
Hey @transedward thanks for opening the issue. This is going to be a bit tricky to reproduce because it's a 90 GB file. In Python I'd just stream it using fsspec, but the tools to do this in MATLAB are not as good. I'm downloading the file but it could take a while. Looking at the traceback it looks like the issue is with the ndx_franklab_novela extension, not the core schema. Is it possible that you generated the schema for this extension and that it conflicts with the schema in the file? @lawrence-mbf , any thoughts on this? |
I agree that it's most likely coming from the extension schema and not the main one. I just finished downloading a representative file and it seems to come from the |
I think see what the issue is. It has to do with the modifications to the |
Is the fix coming? |
It requires a larger change to class generation where |
@transedward @yarikoptic Let me know if #475 fixes this issue. |
Hi @lawrence-mbf, thank you for the fix and update. There are some other errors appearing as follows. Let me know what I can do, thanks! Error using builtin
Incorrect number or types of inputs or outputs for function 'flip'.
Error in flip (line 32)
[varargout{1:nargout}] = builtin(mfilename, varargin{:});
Error in flipud (line 14)
x = flip(x,1);
Error in types.untyped.DataStub/load_mat_style (line 171)
cell2mat(flipud(points)) - 1);
Error in types.untyped.DataStub/load (line 120)
data = obj.load_mat_style(varargin{1});
Error in indexing (line 369)
B = builtin('subsref', obj, S);
Error in types.util.checkDtype (line 80)
val = val.load(1);
Error in types.hdmf_common.DynamicTableRegion/validate_data (line 38)
val = types.util.checkDtype('data', 'int32', val);
Error in types.hdmf_common.Data/set.data (line 29)
obj.data = obj.validate_data(val);
Error in types.hdmf_common.Data (line 22)
obj.data = p.Results.data;
Error in types.hdmf_common.VectorData (line 13)
obj = [email protected]_common.Data(varargin{:});
Error in types.hdmf_common.DynamicTableRegion (line 13)
obj = [email protected]_common.VectorData(varargin{:});
Error in io.parseDataset (line 81)
parsed = eval([Type.typename '(kwargs{:})']);
Error in io.parseGroup (line 22)
dataset = io.parseDataset(filename, datasetInfo, fullPath, Blacklist);
Error in io.parseGroup (line 38)
subg = io.parseGroup(filename, group, Blacklist);
Error in io.parseGroup (line 38)
subg = io.parseGroup(filename, group, Blacklist);
Error in nwbRead (line 59)
nwb = io.parseGroup(filename, h5info(filename), Blacklist); |
Interestingly, it seems to be working with the file in the |
Good to hear! I'll check on that error in the original file anyway in the meantime. |
What happened?
Unexpected properties {camera_device 1}
when usingnwbRead
to read data filehttps://dandiarchive.org/dandiset/000115/0.210914.1732/sub-despereaux/sub-despereaux_ses-despereaux-07_behavior+ecephys.nwb
.Steps to Reproduce
Error Message
The text was updated successfully, but these errors were encountered: