pmutt.io.excel.set_formula

pmutt.io.excel.set_formula(formula, output_structure)

Parses stoichiometric formula unit and assigns to output_structure

Parameters:
  • formula (str) – Stoichiometric formula unit. e.g. H2O Note that an element cannot be specified multiple times. e.g. CH3OH is not supported

  • output_structure (dict) – Structure to assign value. Will assign to output_structure[‘elements’]