Skip to content

Commit

Permalink
Merge pull request #157 from lsst/tickets/DM-25458
Browse files Browse the repository at this point in the history
DM-25458: Record instrument class during raw data ingest
  • Loading branch information
timj committed Jun 20, 2020
2 parents 3d323b8 + 6bbfe12 commit fa6e18e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python/lsst/obs/decam/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ def extractMetadata(self, filename: str) -> RawFileData:

self.log.debug(f"Found images for {len(datasets)} detectors in {filename}")
return RawFileData(datasets=datasets, filename=filename,
FormatterClass=FormatterClass)
FormatterClass=FormatterClass,
instrumentClass=type(instrument))


class DecamIngestArgumentParser(IngestArgumentParser):
Expand Down
1 change: 0 additions & 1 deletion tests/test_convert2to3.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def setUp(self):
for detector, date in itertools.product(detectors, dates)]
self.refcats = ['gaia', 'panstarrs']
super().setUp()
self.collections.add("calib/DECam")


def setup_module(module):
Expand Down

0 comments on commit fa6e18e

Please sign in to comment.