Skip to content
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

Updates to table metadata #1640

Merged
merged 5 commits into from
Oct 17, 2023
Merged

Conversation

larrybradley
Copy link
Member

The metadata in output tables now contains a timestamp (also with package versions).

Package versions in table metadata are now stored in the "versions" key. Previously, this key was named "version".

Also, the order of the metadata in a table is now preserved when writing to a file. The astropy Table class currently does not preserve key order when serializing dict objects (using yaml). However, Table.meta currently uses OrderedDict and its key order is preserved when serializing. Here, we use the default meta type to preserve key order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant