Skip to content

Commit

Permalink
Store working ion as string (not element)
Browse files Browse the repository at this point in the history
  • Loading branch information
acrutt committed Aug 30, 2022
1 parent 84cb101 commit 868169a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions emmet-core/emmet/core/electrode.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ class InsertionElectrodeDoc(InsertionVoltagePairDoc):
None, description="Returns all of the voltage steps material pairs."
)

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

num_steps: int = Field(
Expand Down Expand Up @@ -438,8 +438,8 @@ class ConversionElectrodeDoc(ConversionVoltagePairDoc):
None, description="Returns all the adjacent Voltage Steps"
)

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

num_steps: int = Field(
Expand Down

0 comments on commit 868169a

Please sign in to comment.