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

DM-13757: enable jointcal config writing #139

Merged
merged 1 commit into from Mar 15, 2019
Merged

Conversation

parejkoj
Copy link
Collaborator

No description provided.

@@ -589,6 +589,11 @@ srcMatchFull:
python: lsst.afw.table.BaseCatalog
tables: raw
template: ''
jointcal_config:
persistable: Config
python: lsst.pipe.tasks.processCcd.ProcessCcdConfig
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this should be lsst.jointcal.JointcalConfig

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! I wouldn't have even thought to check that.

Wish we had a more general way to test that the configs are persisted correctly.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if it's general, but as I commented on the ticket if you check the datatype of what the butler gives you back then I think that would do it in two lines. A basic round-trip test.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The butler already does that: my test in jointcal uses that and more.

@parejkoj parejkoj merged commit 5142be1 into master Mar 15, 2019
@timj timj deleted the tickets/DM-13757 branch June 25, 2020 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants