From 59ba20b728dafe7bf82b8701658dd9976b2e7971 Mon Sep 17 00:00:00 2001 From: Brianna Smart Date: Mon, 21 Aug 2023 16:27:56 -0700 Subject: [PATCH] test association task update --- tests/test_association_task.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/tests/test_association_task.py b/tests/test_association_task.py index 0c3f7ff8..f7a0c607 100644 --- a/tests/test_association_task.py +++ b/tests/test_association_task.py @@ -54,16 +54,9 @@ def setUp(self): "dec": 0.04*idx, "diaSourceId": idx + 1 + self.nObjects, "diaObjectId": 0, "trailLength": 5.5*idx} for idx in range(self.nSources)]) - exposureId = 5 - exposureTime = 30 - boresightRotAngle = 45.6 * lsst.geom.degrees - weather = Weather(1.1, 2.2, 0.3) - visitInfo = afwImage.VisitInfo( - exposureId=exposureId, - exposureTime=exposureTime, - boresightRotAngle=boresightRotAngle, - weather=weather, - ) + visitInfo = afwImage.VisitInfo(exposureTime=30.0, + weather=Weather(1.1, 2.2, 34.5), + ) exposureInfo = afwImage.ExposureInfo() exposureInfo.setVisitInfo(visitInfo) maskedImage = afwImage.MaskedImageF(lsst.geom.Extent2I(64, 64))