Skip to content

Commit

Permalink
Merge pull request #17 from lsst/tickets/DM-39605
Browse files Browse the repository at this point in the history
DM-39605: Use butler.dimensions rather than butler.registry.dimensions
  • Loading branch information
timj committed Jun 8, 2023
2 parents 58f1a80 + 15abc2d commit 8dcdf29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/export_gen3.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
export.saveCollection('skymaps')

# Dimension data
for name in butler.registry.dimensions.getStaticElements():
for name in butler.dimensions.getStaticElements():
if str(name).startswith('visit'):
records = butler.registry.queryDimensionRecords(visit_dim)
export.saveDimensionData(visit_dim, records)

0 comments on commit 8dcdf29

Please sign in to comment.