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-9153: Add <exposure>_detector dataset #56
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of comments.
mapper = MinMapper2(root=testDir) | ||
butler = dafPersist.ButlerFactory(mapper=mapper).create() | ||
detector = butler.get("raw_detector", ccd=0) | ||
self.assertEqual(detector.getName(), "ccd00") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice: I see that there wasn't a test on the detector name before.
python/lsst/obs/base/cameraMapper.py
Outdated
mapper=self, | ||
storage=None,#self.rootStorage | ||
), | ||
bypassImpl=lambda dsType, pyType, location, dataId: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
datasetType
and pythonType
please.
python/lsst/obs/base/cameraMapper.py
Outdated
locationList="ignored", | ||
dataId=dataId, | ||
mapper=self, | ||
storage=None,#self.rootStorage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the commented self.rootStorage
here?
9dfcbd9
to
36725bc
Compare
Pulls the detector from the camera object stored in the CameraMapper.
36725bc
to
6e92575
Compare
Pulls the detector from the camera object stored in the CameraMapper.