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-19015: Fix reading fcr photoCalib #50

Merged
merged 1 commit into from Apr 12, 2019
Merged

DM-19015: Fix reading fcr photoCalib #50

merged 1 commit into from Apr 12, 2019

Conversation

parejkoj
Copy link
Contributor

@parejkoj parejkoj commented Apr 9, 2019

No description provided.

The fcr object is an empty Exposure, which now contains a PhotoCalib object,
persisted directly (instead of having Calib headers FLUXMAG0/FLUXMAG0ERR), so we
get the fcr_photoCalib, instead of reading the metadata. This should also maintain
backwards compatibility with old files.

Update the dataRef mock in test_fluxFitBoundedField to be able to return an
fcr_photoCalib (which is a valid composite object for a real butler).
@parejkoj parejkoj merged commit 1c75edc into master Apr 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants