From eb20205d2a43149975fc5807820d173267c6a8e7 Mon Sep 17 00:00:00 2001 From: Arun Kannawadi Date: Mon, 6 May 2024 23:01:52 -0400 Subject: [PATCH] Add a note on backward compatibility when inputs is None. --- python/lsst/cell_coadds/_single_cell_coadd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/lsst/cell_coadds/_single_cell_coadd.py b/python/lsst/cell_coadds/_single_cell_coadd.py index 514b036..0db1300 100644 --- a/python/lsst/cell_coadds/_single_cell_coadd.py +++ b/python/lsst/cell_coadds/_single_cell_coadd.py @@ -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 @@ -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`.