Failure

class scml.scml2020.Failure(is_inventory, line, step, process)[source]

Bases: object

A production failure

Attributes Summary

is_inventory

True if the cause of failure was insufficient inventory.

line

The line at which the failure happened

process

The process that failed to execute

step

The step at which the failure happened

Attributes Documentation

is_inventory: bool

True if the cause of failure was insufficient inventory. If False, the cause was insufficient funds. Note that if both conditions were true, only insufficient funds (is_inventory=False) will be reported.

line: int

The line at which the failure happened

process: int

The process that failed to execute

step: int

The step at which the failure happened