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-15528: Don't assume Camera iteration matches ccdExposureId ordering. #228

Merged
merged 1 commit into from Oct 20, 2018

Conversation

TallJimbo
Copy link
Member

The "observations" catalog used in the coadd tests needs to be sorted for find() to work, but we never actually guaranteed this in the past; the order was set by Camera iteration, which is actually just dict iteration and hence has no guaranteed order.
This broke on DM-15528 when moving the Camera from Python (dict) to C++ (unordered_map) changed that iteration order.

The "observations" catalog used in the coadd tests needs to be
sorted for find() to work, but we never actually guaranteed this
in the past; the order was set by Camera iteration, which is
actually just dict iteration and hence has no guaranteed order.
This broke on DM-15528 when moving the Camera from Python
(dict) to C++ (unordered_map) changed that iteration order.
@TallJimbo
Copy link
Member Author

This has been fixed on the afw branch of DM-15528 as well, but merging this (trivial) fix is an improvement in its own right.

@TallJimbo TallJimbo merged commit 8592b07 into master Oct 20, 2018
@TallJimbo TallJimbo deleted the tickets/DM-15528 branch October 20, 2018 20:23
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

1 participant