Skip to content

Commit

Permalink
Add check for gen3 FilterLabel reading
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Jan 2, 2021
1 parent 426ca8f commit 761942f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class LatissIngestTestCase(IngestTestBase, lsst.utils.tests.TestCase):
ingestDir = TESTDIR
file = os.path.join(DATAROOT, "latiss", "raw", "2018-09-20", "3018092000065-det000.fits")
dataIds = [dict(instrument="LATISS", exposure=3018092000065, detector=0)]
filterLabel = lsst.afw.image.FilterLabel(physical="unknown~unknown")


class Ts3IngestTestCase(IngestTestBase, lsst.utils.tests.TestCase):
Expand All @@ -49,6 +50,7 @@ class Ts3IngestTestCase(IngestTestBase, lsst.utils.tests.TestCase):
ingestDir = TESTDIR
file = os.path.join(DATAROOT, "ts3", "raw", "2018-11-15", "201811151255111-R433-S00-det433.fits")
dataIds = [dict(instrument="LSST-TS3", exposure=201811151255111, detector=433)]
filterLabel = lsst.afw.image.FilterLabel(physical="550CutOn")


class ComCamIngestTestCase(IngestTestBase, lsst.utils.tests.TestCase):
Expand All @@ -59,6 +61,7 @@ class ComCamIngestTestCase(IngestTestBase, lsst.utils.tests.TestCase):
file = os.path.join(DATAROOT, "comCam", "raw", "2019-05-30",
"3019053000001", "3019053000001-R22-S00-det000.fits")
dataIds = [dict(instrument="LSSTComCam", exposure=3019053000001, detector=0)]
filterLabel = lsst.afw.image.FilterLabel(physical="unknown", band="unknown")


class LSSTCamIngestTestCase(IngestTestBase, lsst.utils.tests.TestCase):
Expand All @@ -69,6 +72,7 @@ class LSSTCamIngestTestCase(IngestTestBase, lsst.utils.tests.TestCase):
file = os.path.join(DATAROOT, "lsstCam", "raw", "2019-03-19",
"3019031900001", "3019031900001-R10-S02-det029.fits")
dataIds = [dict(instrument="LSSTCam", exposure=3019031900001, detector=29)]
filterLabel = lsst.afw.image.FilterLabel(physical="unknown", band="unknown")


def setup_module(module):
Expand Down

0 comments on commit 761942f

Please sign in to comment.