Skip to content

Commit

Permalink
Merge pull request #810 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 7419571 + bd1017e commit fb26720
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions tests/surveyPropertyMapsTestUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ def makeMockVisitSummary(visit,
# it just needs to be valid and have sufficient information to compute
# exposure time and parallactic angle.
date = DateTime(date=mjd, system=DateTime.DateSystem.MJD)
visit_info = afwImage.VisitInfo(exposureId=visit,
exposureTime=exposure_time,
visit_info = afwImage.VisitInfo(exposureTime=exposure_time,
date=date,
darkTime=0.0,
boresightRaDec=geom.SpherePoint(ra_center,
Expand Down
1 change: 0 additions & 1 deletion tests/test_coaddInputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ def makeWcs():
@staticmethod
def makeVisitInfo():
return lsst.afw.image.VisitInfo(
10313423,
10.01,
11.02,
DateTime(65321.1, DateTime.MJD, DateTime.TAI),
Expand Down

0 comments on commit fb26720

Please sign in to comment.