pwspy.utility.acquisition.ContainerStep

class pwspy.utility.acquisition.ContainerStep(id, settings, stepType, children=None)[source]

Bases: pwspy.utility.acquisition.steps.SequencerStep

A class for steps which can contain other steps within it.

getCoordinate()

Returns a sequencer coordinate range that points to this steps location in the tree of steps.

Return type

SequencerCoordinateRange

getTreePath()

Return a list of steps starting with the root step and ending with this step.

Return type

Tuple[TreeItem]

static hook(dct)

This method defines how the JSON library should translate from JSON to one of these objects. :type dct: dict :param dct: The dict representing the raw representation of the JSON

iterateChildren()

Recursively iterate through all children of this step

printSubTree(_indent=0)

Print out this step and all sub-steps in a human-readable format.

Return type

None

row()

Return which row we are with respect to the parent.

Return type

int