Skip to content

Commit dde03dc

Browse files
committed
Pass inputs as dict in test_coadds
1 parent cbd58da commit dde03dc

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tests/test_coadds.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
from lsst.cell_coadds import (
3636
CellCoaddFitsReader,
3737
CellIdentifiers,
38+
CoaddInputs,
3839
CoaddUnits,
3940
CommonComponents,
4041
ExplodedCoadd,
@@ -244,15 +245,15 @@ def setUpClass(cls) -> None:
244245
geom.Point2I(cls.x0 + x * cls.inner_size_x, cls.y0 + y * cls.inner_size_y),
245246
geom.Extent2I(cls.inner_size_x, cls.inner_size_y),
246247
),
247-
inputs=(
248+
inputs={
248249
ObservationIdentifiers(
249250
instrument="dummy",
250251
physical_filter="dummy-I",
251252
visit=12345,
252253
detector=67,
253254
day_obs=20000101,
254-
),
255-
),
255+
): CoaddInputs(True, 1.0, 1.0)
256+
},
256257
common=common,
257258
identifiers=identifiers,
258259
aperture_correction_map=aperture_correction_map,

0 commit comments

Comments
 (0)