diff --git a/python/lsst/daf/butler/script/queryDatasets.py b/python/lsst/daf/butler/script/queryDatasets.py index 0063e7adce..70d114f502 100644 --- a/python/lsst/daf/butler/script/queryDatasets.py +++ b/python/lsst/daf/butler/script/queryDatasets.py @@ -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)