xdl.readwrite.errors module
- exception xdl.readwrite.errors.XDLBlueprintNoID(xdl_blueprint)[source]
Bases:
xdl.readwrite.errors.XDLReadError
XDL JSON Blueprints need to have an id.
- exception xdl.readwrite.errors.XDLInvalidJSONError[source]
Bases:
xdl.readwrite.errors.XDLReadError
Base error class for when XDL JSON supplied is invalid.
- exception xdl.readwrite.errors.XDLInvalidPropError(step_name, prop)[source]
Bases:
xdl.readwrite.errors.XDLReadError
Invalid prop used.
- exception xdl.readwrite.errors.XDLInvalidStepTypeError(step_name)[source]
Bases:
xdl.readwrite.errors.XDLReadError
Invalid step type used.
- exception xdl.readwrite.errors.XDLJSONBlueprintsNotListError[source]
Bases:
xdl.readwrite.errors.XDLInvalidJSONError
XDL JSON Blueprints section is not an array.
- exception xdl.readwrite.errors.XDLJSONBlueprintsSynthesisNotDictError[source]
Bases:
xdl.readwrite.errors.XDLInvalidJSONError
XDL JSON Synthesis section is not a dictionary.
- exception xdl.readwrite.errors.XDLJSONHardwareNotArrayError[source]
Bases:
xdl.readwrite.errors.XDLInvalidJSONError
XDL JSON hardware section is not an array.
- exception xdl.readwrite.errors.XDLJSONInvalidSectionError(section_name)[source]
Bases:
xdl.readwrite.errors.XDLInvalidJSONError
Invalid section included in XDL JSON.
- exception xdl.readwrite.errors.XDLJSONMissingHardwareError[source]
Bases:
xdl.readwrite.errors.XDLInvalidJSONError
XDL JSON is missing hardware section.
- exception xdl.readwrite.errors.XDLJSONMissingPropertiesError[source]
Bases:
xdl.readwrite.errors.XDLInvalidJSONError
Step missing “properties” object in XDL JSON.
- exception xdl.readwrite.errors.XDLJSONMissingReagentsError[source]
Bases:
xdl.readwrite.errors.XDLInvalidJSONError
XDL JSON is missing reagents section.
- exception xdl.readwrite.errors.XDLJSONMissingStepNameError[source]
Bases:
xdl.readwrite.errors.XDLInvalidJSONError
Step missing “name” parameter in XDL JSON.
- exception xdl.readwrite.errors.XDLJSONMissingStepsError[source]
Bases:
xdl.readwrite.errors.XDLInvalidJSONError
XDL JSON is missing steps section.
- exception xdl.readwrite.errors.XDLJSONNotBlueprintsAndSynthesis(provided)[source]
Bases:
xdl.readwrite.errors.XDLInvalidJSONError
Both Blueprints and Synthesis sections were not provided
- exception xdl.readwrite.errors.XDLJSONReagentsNotArrayError[source]
Bases:
xdl.readwrite.errors.XDLInvalidJSONError
XDL JSON reagents section is not an array.
- exception xdl.readwrite.errors.XDLJSONStepsNotArrayError[source]
Bases:
xdl.readwrite.errors.XDLInvalidJSONError
XDL JSON steps section is not an array.
- exception xdl.readwrite.errors.XDLReadError[source]
Bases:
xdl.errors.XDLError
Base error class for errors occurring while reading XDL files/strings.