Skip to content

Commit

Permalink
Add a note on backward compatibility
Browse files Browse the repository at this point in the history
when inputs is None.
  • Loading branch information
arunkannawadi committed May 7, 2024
1 parent 144cbf9 commit eb20205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/cell_coadds/_single_cell_coadd.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +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.
# TODO: Remove support for inputs as None when bumping to v1.0 .
self._inputs = tuple(sorted(set(inputs))) if inputs else ()
self._identifiers = identifiers

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

@property
# TODO: Remove the conditioning in DM-40563.
# TODO: Remove the option of returning empty tuple in v1.0.
def inputs(self) -> tuple[ObservationIdentifiers, ...] | tuple[()]:
"""Identifiers for the input images that contributed to this cell,
sorted by their `visit` attribute first, and then by `detector`.
Expand Down

0 comments on commit eb20205

Please sign in to comment.