Skip to content

Commit

Permalink
Merge pull request #479 from lsst/tickets/DM-41365
Browse files Browse the repository at this point in the history
DM-41365: Use Butler.find_dataset API
  • Loading branch information
timj authored Nov 3, 2023
2 parents 6d4dcd9 + 65ea3b0 commit cef47c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def checkRepo(self, files=None):
# is the same for all instruments, so repeating it in other test cases
# is wasteful.
butler = Butler(self.root, run=self.outputRun)
ref = butler.registry.findDataset("raw", self.dataIds[0])
ref = butler.find_dataset("raw", self.dataIds[0])
full_assembled = butler.get(ref)
unassembled_detector = self.instrumentClass().getCamera()[ref.dataId["detector"]]
assembled_detector = full_assembled.getDetector()
Expand Down

0 comments on commit cef47c8

Please sign in to comment.