BaseWmsWorkflow

class lsst.ctrl.bps.BaseWmsWorkflow(name, config)

Bases: object

Interface for single workflow specific to a WMS.

Parameters:
name : str

Unique name of workflow.

config : lsst.ctrl.bps.BpsConfig

Generic workflow config.

Methods Summary

from_generic_workflow(config, …) Create a WMS-specific workflow from a GenericWorkflow
write(out_prefix) Write WMS files for this particular workflow.

Methods Documentation

classmethod from_generic_workflow(config, generic_workflow, out_prefix, service_class)

Create a WMS-specific workflow from a GenericWorkflow

Parameters:
config : lsst.ctrl.bps.BpsConfig

Configuration values needed for generating a WMS specific workflow.

generic_workflow : lsst.ctrl.bps.GenericWorkflow

Generic workflow from which to create the WMS-specific one.

out_prefix : str

Root directory to be used for WMS workflow inputs and outputs as well as internal WMS files.

service_class : str

Full module name of WMS service class that created this workflow.

Returns:
wms_workflow : lsst.ctrl.bps.BaseWmsWorkflow

A WMS specific workflow.

write(out_prefix)

Write WMS files for this particular workflow.

Parameters:
out_prefix : str

Root directory to be used for WMS workflow inputs and outputs as well as internal WMS files.