InheritIR¶
-
class
lsst.pipe.base.pipelineIR.
InheritIR
(location: str, include: Optional[List[str]] = None, exclude: Optional[List[str]] = None, importContracts: bool = True)¶ Bases:
object
An intermediate representation of inherited pipelines
Attributes Summary
exclude
List of tasks that should be excluded when inheriting this pipeline. importContracts
Boolean attribute to dictate if contracts should be inherited with the pipeline or not. include
List of tasks that should be included when inheriting this pipeline. Methods Summary
toPipelineIR
([instrument])Load in the Pipeline specified by this object, and turn it into a PipelineIR instance. Attributes Documentation
-
exclude
= None¶ List of tasks that should be excluded when inheriting this pipeline. Either the include or exclude attributes may be specified, but not both.
-
importContracts
= True¶ Boolean attribute to dictate if contracts should be inherited with the pipeline or not.
-
include
= None¶ List of tasks that should be included when inheriting this pipeline. Either the include or exclude attributes may be specified, but not both.
Methods Documentation
-
toPipelineIR
(instrument=None) → PipelineIR¶ Load in the Pipeline specified by this object, and turn it into a PipelineIR instance.
Parameters: - instrument : Optional
str
A string giving the fully qualified path to an instrument object. If a inherited pipeline defines the same instrument as defined in this variable, an import warning message is skipped.
Returns: - pipeline :
PipelineIR
A pipeline generated from the imported pipeline file
- instrument : Optional
-