Skip to content

Commit

Permalink
Revert elasticity and chemenv data fields in SummaryDoc (#470)
Browse files Browse the repository at this point in the history
* Fully remove chemv from summary

* Remove chemenv from summary builder
  • Loading branch information
munrojm committed Jul 21, 2022
1 parent df9954c commit 6044ffb
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions emmet-core/emmet/core/summary.py
Expand Up @@ -43,7 +43,6 @@ class HasProps(Enum):
phonon = "phonon"
insertion_electrodes = "insertion_electrodes"
substrates = "substrates"
#chemenv = "chemenv"


class SummaryStats(BaseModel):
Expand Down Expand Up @@ -191,19 +190,6 @@ class SummaryDoc(PropertyDoc):
source="thermo",
)

# Chemenv

# Temporary removal
# chemenv_iupac: List[COORDINATION_GEOMETRIES_IUPAC] = Field(
# None,
# description="List of symbols for unique (cationic) species in structure in IUPAC format",
# )

# chemenv_iucr: List[COORDINATION_GEOMETRIES_IUCR] = Field(
# None,
# description="List of symbols for unique (cationic) species in structure in IUPAC format",
# )

# XAS

xas: List[XASSearchData] = Field(
Expand Down Expand Up @@ -476,7 +462,6 @@ def from_docs(cls, material_id: MPID, **docs: Dict[str, Dict]):
"equilibrium_reaction_energy_per_atom",
"decomposes_to",
],
#HasProps.chemenv.value: ["chemenv_iupac", "chemenv_iucr"],
HasProps.xas.value: ["absorbing_element", "edge", "spectrum_type", "spectrum_id"],
HasProps.grain_boundaries.value: [
"gb_energy",
Expand Down

0 comments on commit 6044ffb

Please sign in to comment.