Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-22708: Fix decam gen3 ingest #247

Merged
merged 1 commit into from
Jan 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ def setUp(self):
self.ingestDir = os.path.dirname(__file__)
self.instrument = HyperSuprimeCam()
self.file = os.path.join(testDataDirectory, "hsc", "raw", "HSCA90402512.fits.gz")
self.dataId = dict(instrument="HSC", exposure=904024, detector=50)
self.dataIds = [dict(instrument="HSC", exposure=904024, detector=50)]
parejkoj marked this conversation as resolved.
Show resolved Hide resolved

super().setUp()

def checkRepo(self, files=None):
# We ignore `files` because there's only one raw file in
# testdata_subaru, and we know it's a science frame.
# If we ever add more, this test will need to change.
expanded = self.butler.registry.expandDataId(self.dataId)
expanded = self.butler.registry.expandDataId(self.dataIds[0])
self.assertEqual(expanded.records["exposure"].observation_type, "science")


Expand Down