Repository navigation
Cosmo to/from table row - #12313
Cosmo to/from table row#12313
Conversation
|
👋 Thank you for your draft pull request! Do you know that you can use |
75ada3b to
ac554a7
Compare
ac554a7 to
4ca1259
Compare
|
Hello @nstarman 👋! It looks like you've made some changes in your pull request, so I've checked the code again for style. There are no PEP8 style issues with this pull request - thanks! 🎉 Comment last updated at 2021-11-02 21:26:08 UTC |
7cb7302 to
ea02c62
Compare
mhvk
left a comment
There was a problem hiding this comment.
Apart from a small copy & paste typo and a very small request for clarification in the docstring, this all looks good, so I'll approve.
|
|
||
|
|
||
| def to_row(cosmology, *args, cosmology_in_meta=False): | ||
| """Serialize the cosmology into a `~astropy.table.QTable`. |
There was a problem hiding this comment.
Copy & paste error... should be Row
| ------- | ||
| `~astropy.table.Row` | ||
| With columns for the cosmology parameters, and metadata and | ||
| cosmology class name in the Table's ``meta`` attribute |
There was a problem hiding this comment.
Whether the class name is in meta depends on cosmology_in_meta, correct?
There was a problem hiding this comment.
Yes. Thanks for the catch!
Signed-off-by: Nathaniel Starkman (@nstarman) <[email protected]>
ea02c62 to
b3bc932
Compare
|
Failures appear unrelated, so merging. |
Description
Register "astropy.table.Row" with Cosmology I/O.
Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
Extra CIlabel.no-changelog-entry-neededlabel. If this is a manual backport, use theskip-changelog-checkslabel unless special changelog handling is necessary.astropy-botcheck might be missing; do not let the green checkmark fool you.backport-X.Y.xlabel(s) before merge.