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

Configure Expsoure datatype for fetching raw images #48

Merged
merged 2 commits into from Apr 2, 2018

Conversation

kennywlo
Copy link
Contributor

@kennywlo kennywlo commented Apr 2, 2018

No description provided.

@kennywlo kennywlo self-assigned this Apr 2, 2018
@kennywlo kennywlo requested review from ktlim and n8pease April 2, 2018 18:46
@@ -46,7 +46,7 @@ def testGetDR7(self):
for ref in sub:
im = ref.get("fpC")
w, h = im.getWidth(), im.getHeight()
self.assertEqual(im.__class__, lsst.afw.image.ImageU)
self.assertEqual(im.__class__, lsst.afw.image.ExposureU)
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this actually pass? It's confusing to have ExposureF above and then ExposureU here. If this passes, then presumably the YAML should have ExposureU.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's definitely passing, and the SdssMapper.yaml is showing python lssst.afw.image.ExposureF under fpC.

@kennywlo kennywlo merged commit 44c770a into master Apr 2, 2018
@ktlim ktlim deleted the tickets/DM-13696 branch August 25, 2018 05: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
Development

Successfully merging this pull request may close these issues.

None yet

2 participants