Closed stephprince closed 1 week ago
Sounds like a good idea.
In MIES we have added our own version info since ages a la
but having a builtin definition for that is much preferred.
@t-b great, if I'm correctly interpreting the image you shared, I think all of the MIES version info could be mapped to the proposed (name, version) builtin definition?
e.g. something like:
[('Igor Pro 64bit', '9.0.6.1.56565'),
('MIES', 'Release_2.7_20230809-747-g005144'),
('Labnotebook', '23'),
('HDF5', '1.10.7'),
('Sweep Epoch', '9')
]
I think all of the MIES version info could be mapped to the proposed (name, version) builtin definition?
@stephprince Yes exactly.
Summary of changes
Fix #319.
Here is a draft proposal for basic provenance information. Given the discussion in #319, I think the goal of the first draft was an easily shareable, approachable representation where the NWB file has an optional field with the names of the software packages and versions used to generate the data in the file.
After following up offline with @rly , we discussed that this information should likely:
Some further considerations might be:
Container
data type in thehdmf-common-schema
?was_generated_by
based on the PROV naming, but something likesoftware_versions
might be more interpretable.Related pynwb changes here: https://github.com/NeurodataWithoutBorders/pynwb/pull/1924
Checklist
For all schema changes:
docs/format/source/format_release_notes.rst
.hdmf-common-schema
points to the latest release and not the latest commit on themain
branch.If this is the first schema change after a schema release (i.e., the version string in
core/nwb.namespace.yaml
does not end in "-alpha"), then:core/nwb.namespace.yaml
andcore/nwb.file.yaml
to the next major/minor/patch version with the suffix "-alpha". For example, if the current version is 2.4.0 and this is a minor change, then the new version string should be "2.5.0-alpha".version
variable indocs/format/source/conf.py
to the next version without the suffix "-alpha", e.g., "2.5.0".release
variable indocs/format/source/conf.py
to the next version with the suffix "-alpha", e.g., "2.5.0-alpha".docs/format/source/format_release_notes.rst
for the new version with the date "Upcoming" in parentheses.