Hydrokinetic keywords input validation and specialized Exceptions, all_keywords)

Raise Exception if keyword value is inconsistent with the other keywords. This is done in an adhoc case-by-case way.

  • kwd (HydrokineticKeyword) – reference Hydrokinetic keyword

  • all_keywords (dict of HydrokineticKeyword instances indexed by name) – all the other Hydrokinetic keywords set

:raise WorkflowKeywordConflictError if conflicting values found.

Perform a check to ensure that matter is conserved and that charge/multiplicity are consistent with structures.

A WorkflowConservationError is raised if any test fails.