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-33766: Photodiode test depends on other tests having run #392

Merged
merged 4 commits into from Feb 25, 2022

Conversation

czwa
Copy link
Contributor

@czwa czwa commented Feb 21, 2022

I've added a call to ingestRaws to the photodiode test. As all tests ingest to a unique collection, this should be a safe way to ensure that the needed exposure information exists.

@czwa czwa requested a review from timj February 21, 2022 23:25
python/lsst/obs/lsst/_ingestPhotodiode.py Outdated Show resolved Hide resolved
python/lsst/obs/lsst/_ingestPhotodiode.py Outdated Show resolved Hide resolved
ingestDir = TESTDIR
file = os.path.join(DATAROOT, "lsstCam", "raw", "2021-12-12",
"30211212000310", "30211212000310-R22-S22-det098.fits")
transfer = "auto"
dataIds = [dict(instrument="LSSTCam", exposure=3021121200310, detector=98)]
filterLabel = lsst.afw.image.FilterLabel(physical="SDSSi", band="i")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this line still needed?

@czwa czwa merged commit 2fccd95 into main Feb 25, 2022
@czwa czwa deleted the tickets/DM-33766 branch February 25, 2022 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants