Skip to content

Commit

Permalink
Merge branch 'tickets/DM-31489'
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed Aug 26, 2021
2 parents 9f5bc66 + 7817676 commit e634287
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions python/lsst/ip/isr/isrTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ class IsrTaskConnections(pipeBase.PipelineTaskConnections,
doc="Input stray light calibration.",
storageClass="StrayLightData",
dimensions=["instrument", "physical_filter", "detector"],
deferLoad=True,
isCalibration=True,
minimum=0, # only needed for some bands, even when enabled
)
Expand Down
5 changes: 3 additions & 2 deletions python/lsst/ip/isr/straylight.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
from abc import ABC, abstractmethod
from abc import abstractmethod
from typing import Optional

from lsst.pex.config import Config, Field, ListField
from lsst.pipe.base import Task
from lsst.geom import Angle
from .isrFunctions import checkFilter
from .calibType import IsrCalib


class StrayLightConfig(Config):
Expand Down Expand Up @@ -118,7 +119,7 @@ def checkFilter(self, exposure):
return checkFilter(exposure, self.config.filters, log=self.log)


class StrayLightData(ABC):
class StrayLightData(IsrCalib):
"""An abstract base class for rotator-dependent stray light information.
"""

Expand Down

0 comments on commit e634287

Please sign in to comment.