Skip to content

Commit

Permalink
Merge pull request #253 from lsst/tickets/DM-34340
Browse files Browse the repository at this point in the history
DM-34340: Adapt to daf_butler API changes.
  • Loading branch information
TallJimbo committed Nov 22, 2023
2 parents 4500d70 + 18034ec commit 043fd6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/jointcalTestBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ def importRepository(instrument, exportPath, exportFile, outputDir=None,
# Register refcats first, so the `refcats` collection will exist.
if refcats is not None:
for name, file in refcats.items():
graph = butler.dimensions.extract(["htm7"])
datasetType = lsst.daf.butler.DatasetType(name, graph, "SimpleCatalog",
dimensions = butler.dimensions.conform(["htm7"])
datasetType = lsst.daf.butler.DatasetType(name, dimensions, "SimpleCatalog",
universe=butler.dimensions)
butler.registry.registerDatasetType(datasetType)
ingest_files(repopath, name, "refcats", file, prefix=refcatPath)
Expand Down

0 comments on commit 043fd6e

Please sign in to comment.