Skip to content

Commit

Permalink
Change FileDataset to use refs rather than ref
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jan 13, 2020
1 parent 3655d4e commit 0d213c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/obs/subaru/gen3/hsc/instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def ingestStrayLightData(self, butler, directory, *, transfer=None):
"detector": detector.getId(),
"physical_filter": "HSC-Y",
"calibration_label": calibrationLabel})
datasets.append(FileDataset(ref=ref, path=path, formatter=SubaruStrayLightDataFormatter))
datasets.append(FileDataset(refs=ref, path=path, formatter=SubaruStrayLightDataFormatter))
with butler.transaction():
butler.registry.registerDatasetType(datasetType)
butler.registry.insertDimensionData("calibration_label", {"instrument": self.getName(),
Expand Down

0 comments on commit 0d213c2

Please sign in to comment.