lsst.cp.pipe  20.0.0-7-g3c4151b+84ce3eee90
Static Public Member Functions | List of all members
lsst.cp.pipe.utils.SingleVisitListTaskRunner Class Reference
Inheritance diagram for lsst.cp.pipe.utils.SingleVisitListTaskRunner:

Static Public Member Functions

def getTargetList (parsedCmd, **kwargs)
 

Detailed Description

Subclass of TaskRunner for tasks requiring a list of visits per dataRef.

This transforms the processed arguments generated by the ArgumentParser
into the arguments expected by tasks which require a list of visits
to be supplied for each dataRef, as is common in `lsst.cp.pipe` code.

Such tasks' run() methods tend to take two arguments,
one of which is the dataRef (as usual), and the other is the list
of visits.
This list is supplied on the command line as documented,
and this class parses that, and passes the parsed version
to the run() method.

See `lsst.pipe.base.TaskRunner` for more information.

Definition at line 100 of file utils.py.

Member Function Documentation

◆ getTargetList()

def lsst.cp.pipe.utils.SingleVisitListTaskRunner.getTargetList (   parsedCmd,
**  kwargs 
)
static
Parse the visit list and pass through explicitly.

Definition at line 118 of file utils.py.


The documentation for this class was generated from the following file: