Skip to content

Commit

Permalink
Remove backwards compatibility to read files
Browse files Browse the repository at this point in the history
without information about the input visits.
  • Loading branch information
arunkannawadi committed May 3, 2024
1 parent 9362889 commit e9c2635
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions python/lsst/cell_coadds/_single_cell_coadd.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ def __init__(
self._common = common
# Remove any duplicate elements in the input, sorted them and make
# them an immutable sequence.
# TODO: Remove the conditioning in DM-40563.
self._inputs = tuple(sorted(set(inputs))) if inputs else ()
self._inputs = tuple(sorted(set(inputs)))
self._identifiers = identifiers

@property
Expand All @@ -107,8 +106,7 @@ def psf_image(self) -> ImageF:
return self._psf

@property
# TODO: Remove the conditioning in DM-40563.
def inputs(self) -> tuple[ObservationIdentifiers, ...] | tuple[()]:
def inputs(self) -> tuple[ObservationIdentifiers, ...]:
"""Identifiers for the input images that contributed to this cell,
sorted by their `packed` attribute.
"""
Expand Down

0 comments on commit e9c2635

Please sign in to comment.