Skip to content

Commit

Permalink
Merge pull request #203 from lsst/tickets/DM-32138
Browse files Browse the repository at this point in the history
DM-32138: Remove exposureId from VisitInfo
  • Loading branch information
parejkoj committed Jul 6, 2023
2 parents d3785e6 + aeff5ae commit ee1056a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/cp/pipe/utils.py
Expand Up @@ -171,8 +171,8 @@ def makeMockFlats(expTime, gain=1.0, readNoiseElectrons=5, fluxElectrons=1000,
flatExp1.image.array[:] = flatData1/gain # ADU
flatExp2.image.array[:] = flatData2/gain # ADU

visitInfoExp1 = lsst.afw.image.VisitInfo(exposureId=expId1, exposureTime=expTime)
visitInfoExp2 = lsst.afw.image.VisitInfo(exposureId=expId2, exposureTime=expTime)
visitInfoExp1 = lsst.afw.image.VisitInfo(exposureTime=expTime)
visitInfoExp2 = lsst.afw.image.VisitInfo(exposureTime=expTime)

flatExp1.info.id = expId1
flatExp1.getInfo().setVisitInfo(visitInfoExp1)
Expand Down

0 comments on commit ee1056a

Please sign in to comment.