schrodinger.pipeline.stages.example module

class schrodinger.pipeline.stages.example.ExampleStage(*args, **kwargs)

Bases: schrodinger.pipeline.stage.Stage

__init__(*args, **kwargs)

This is the Stage class. Derive your own class from it.

Parameters
  • stagename – full name for this stage (<jobname>-<stagename>)

  • specs – ConfigObj specification for the supported keywords

  • allow_extra_keywords – Whether to allow keywords that are not in the specification.

  • cleanup – Whether to remove intermediate files

  • inpipeline – Whether the state is running within a Python Pipeline. If the stage is manually created, do NOT set this flag. Python Pipeline will set it as needed.

  • driver_dir – Directory in which the driver is running.

operate()

OVERWRITE: Perform an operation on the input Objects. use self.setOutput(position, obj) to set output objects