Skip to content

Commit

Permalink
Remove exposureId from VisitInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Jul 5, 2023
1 parent e97dcde commit 58fa214
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion tests/test_diaForcedSource.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ def setUp(self):
detector = DetectorWrapper(
id=23, bbox=self.exposure.getBBox()).detector
visit = afwImage.VisitInfo(
exposureId=self.exposureId,
exposureTime=self.exposureTime,
date=dafBase.DateTime(self.dateTime,
dafBase.DateTime.Timescale.TAI))
Expand Down
1 change: 0 additions & 1 deletion tests/test_loadDiaCatalogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def makeExposure(flipX=False, flipY=False):
afwImage.makeMaskedImageFromArrays(np.ones((1024, 1153))), wcs)
detector = DetectorWrapper(id=23, bbox=exposure.getBBox()).detector
visit = afwImage.VisitInfo(
exposureId=1234,
exposureTime=200.,
date=dafBase.DateTime("2014-05-13T17:00:00.000000000",
dafBase.DateTime.Timescale.TAI))
Expand Down
1 change: 0 additions & 1 deletion tests/test_packageAlerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def setUp(self):
self.exposure.setDetector(detector)

visit = afwImage.VisitInfo(
exposureId=1234,
exposureTime=200.,
date=dafBase.DateTime("2014-05-13T17:00:00.000000000",
dafBase.DateTime.Timescale.TAI))
Expand Down
1 change: 0 additions & 1 deletion tests/test_transformDiaSourceCatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def setUp(self):
self.date = dafBase.DateTime(nsecs=1400000000 * 10**9)
detector = DetectorWrapper(id=23, bbox=self.exposure.getBBox()).detector
visit = afwImage.VisitInfo(
exposureId=self.expId,
exposureTime=200.,
date=self.date)
self.exposure.info.id = self.expId
Expand Down

0 comments on commit 58fa214

Please sign in to comment.