sanity_check

emmet.core.elasticity.sanity_check(structure, elastic_doc, strains, derived_props)

Post analysis to generate warnings if any.

Return type:

tuple[TaskState, list[str]]

Parameters:
  • structure (Structure)

  • elastic_doc (ElasticTensorDoc)

  • strains (list[Strain])

  • derived_props (dict[str, Any])

Returns:

state: state of the calculation warnings: all warning messages. Messages starting with Critical are the

ones resulting in a failed state.