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-9153: Add <exposure>_detector dataset #56

Merged
merged 1 commit into from Jul 24, 2017
Merged

Conversation

PaulPrice
Copy link
Contributor

Pulls the detector from the camera object stored in the CameraMapper.

@PaulPrice PaulPrice requested a review from parejkoj July 20, 2017 17:29
Copy link
Collaborator

@parejkoj parejkoj left a 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")
Copy link
Collaborator

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.

mapper=self,
storage=None,#self.rootStorage
),
bypassImpl=lambda dsType, pyType, location, dataId:
Copy link
Collaborator

Choose a reason for hiding this comment

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

datasetType and pythonType please.

locationList="ignored",
dataId=dataId,
mapper=self,
storage=None,#self.rootStorage
Copy link
Collaborator

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?

Pulls the detector from the camera object stored in the CameraMapper.
@PaulPrice PaulPrice merged commit 6e92575 into master Jul 24, 2017
@ktlim ktlim deleted the tickets/DM-9153 branch August 25, 2018 06:45
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