OxidationStatesBuilder

class emmet.builders.materials.oxidation_states.OxidationStatesBuilder(materials, oxidation_states, query=None, **kwargs)

Bases: MapBuilder

Parameters:
  • materials (Store)

  • oxidation_states (Store)

unary_function(item)
ufn: Unary function to process item

You do not need to provide values for source.key and source.last_updated_field in the output. Any uncaught exceptions will be caught by process_item and logged to the “error” field in the target document.