Skip to content

Commit

Permalink
Use the new butler.get_many_uris API
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jul 10, 2023
1 parent d0158f1 commit a721723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/daf/butler/script/queryDatasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def getTables(self) -> list[AstropyTable]:
tables[dataset_ref.datasetType.name].add(dataset_ref)
else:
d = list(self.datasets)
ref_uris = self.butler._datastore.getManyURIs(d, predict=True)
ref_uris = self.butler.get_many_uris(d, predict=True)
for ref, uris in ref_uris.items():
if uris.primaryURI:
tables[ref.datasetType.name].add(ref, uris.primaryURI)
Expand Down

0 comments on commit a721723

Please sign in to comment.