You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently created an nwb file using the tye-lab-to-nwb neurotensin package on github (a pynwb package). Later, I wanted to change some of the general fields and loaded the file into matlab:
Warning: Attempted to change size of continuous dataset `/file_create_date`. Skipping.
> In io.writeDataset (line 26)
In types.core/NWBFile/export (line 849)
In NwbFile/export (line 66)
In nwbExport (line 42)
I expected this to write out an updated NWB file. However, the export function tries to add a second date into the 'file_create_date' field:
>> nwb.file_create_date
ans =
1×2 cell array
{[2023-10-10T14:38:34.356656-07:00]} {[2023-10-20T14:54:46.150750-07:00]}
I am working on Windows 11, using Matlab 9.14.0.2286388 (R2023a) Update 3, with matnwb version 2.6.0. installed.
The original file was 'auto-generated using neuroconv'.
This warning message is actually somewhat expected and, indeed, is intended for compatibility with pynwb already since the behavior for editing files in MatNWB will differ slightly from pynwb regarding /file_create_date.
What happened?
I recently created an nwb file using the tye-lab-to-nwb neurotensin package on github (a pynwb package). Later, I wanted to change some of the general fields and loaded the file into matlab:
but this gave me an error:
I expected this to write out an updated NWB file. However, the export function tries to add a second date into the 'file_create_date' field:
I am working on Windows 11, using Matlab 9.14.0.2286388 (R2023a) Update 3, with matnwb version 2.6.0. installed.
The original file was 'auto-generated using neuroconv'.
Steps to Reproduce
Error Message
Operating System
Windows
Matlab Version
9.14.0.2286388 (R2023a) Update 3
Code of Conduct
The text was updated successfully, but these errors were encountered: