Input Requested:
As part of the upcoming SuperTask migration, we are refactoring many of our Tasks. This refactoring also provides an opportune moment to implement RFC-352. RFC-352 says that the default pipeBase.TaskRunner
should call a task’s RunDataRef
method on a single dataRef
.
DM-2639 will:
(1) change the pipeBase.TaskRunner
to call a Task’s RunDataRef()
method instead of its run()
method
(2) change the name of all existing CmdlineTasks’ run
methods to runDataRef
and the Task’s “heart” or “primary unit of execution” method (e.g. characterize(self, exposure, exposureIdInfo=None, background=None)
for CharacterizeImageTask
, and calibrate(self, exposure, exposureIdInfo=None, background=None, icSourceCat=None)
for CalibrateTask
) to run
.
This is a major API change for the stack. We will migrate all packages in the lsst_distrib, the “lsst” github user organization, and the lsst-dm packages on our radar, which include:
lsst-dm/qa_explorer
lsst-dm/pipe_analysis
lsst-dm/fgcmcal
lsst-dm/donut
lsst-dm/dm-demo-notebooks
Action requested: Please let us know if you have a package in lsst-dm or elsewhere you’d like a pull request for.