Skip to content

Commit

Permalink
Elec dev (#230)
Browse files Browse the repository at this point in the history
* added more fields to electrode doc

* added elements field

* linting

* update

* more useful fields

* small fixes
  • Loading branch information
jmmshn authored and tschaume committed Mar 26, 2021
1 parent 235cb8e commit fe1d253
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/mp_api/electrodes/models.py
Expand Up @@ -86,25 +86,27 @@ class InsertionElectrodeDoc(InsertionVoltageStep):
battery_id: str = Field(None, description="The id for this battery document.")

framework_formula: str = Field(
None, description="The id for this battery document."
None, description="The chemical formula without the working ion."
)

host_structure: Structure = Field(
None, description="Host structure (structure without the working ion)",
)

adj_pairs: List[InsertionVoltageStep] = Field(
None, description="Returns all the Voltage Steps",
None,
description="Returns all the Voltage Steps",
)

working_ion: Element = Field(
None, description="The working ion as an Element object",
None,
description="The working ion as an Element object",
)

num_steps: float = Field(
num_steps: int = Field(
None,
description="The number of distinct voltage steps in from fully charge to "
"discharge based on the stable intermediate states",
"discharge based on the stable intermediate states",
)

max_voltage_step: float = Field(
Expand Down

0 comments on commit fe1d253

Please sign in to comment.