Update file_create_date on write #990
Labels
category: enhancement
improvements of code or code behavior
priority: low
alternative solution already working and/or relevant to only specific user(s)
Feature Request
Opening an NWB file in any mode except 'r' should add an entry with the current date and time to
NWBFile.file_create_date
. It would be better if this could be changed only upon modification to the file, but with how h5py works, this does not appear to be trackable. (One could just dodataset[()] = some new data
without callingio.write
).If this is not doable, I suggest 1) changing the documentation and 2) changing the variable type from array of datetimes to a single datetime.
Problem/Use Case
NWBFile.file_create_date
is intended to store a record of the date and time an NWB file was created and all subsequent modifications made. But this is currently set to a list containing one element - the creation date. The list is never subsequently changed.Checklist
The text was updated successfully, but these errors were encountered: