Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:Measurement Sprint 1
-
Team:Data Release Production
Description
Add version to afw::table::SourceTable. Persist that version number to fits file when the table is saved, and restore when the table is restored.
Tables created and saved to disk prior to this modification will have the version number 0, by default. Tables created with the S14 version will have the version number 1.
This change is to enable a new version of slots and field naming conventions as needed by the Measurement Framework overhaul, at the same time allowing current clients of SourceTable to continue to function. The work to define and persist the slots depending on the version will be on a separate issue.
Should not appear as an alterable member of the metadata, but should be saved with the metadata and reloaded when the file is reloaded.
getVersion and setVersion methods will be used to allow clients to alter this number.
I think you should review this again to be sure the sequencing in _readtable and _startRecords is OK.
I was not able to reproduce the metadata problem when I got done, and no longer have the failure case. I assume there was a typo in my code which I fixed without know it.