Skip to content

Commit

Permalink
Remove unused maggma import in ChgcarDataDoc module (#523)
Browse files Browse the repository at this point in the history
* Remove maggma import in ChgcarDataDoc

* Fix spglib seg fault
  • Loading branch information
munrojm committed Sep 1, 2022
1 parent 73548e4 commit 5a988de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions emmet-core/emmet/core/charge_density.py
@@ -1,18 +1,19 @@
from pydantic import BaseModel, Field
from datetime import datetime
from pymatgen.io.vasp import Chgcar
from maggma.api.models import S3URLDoc


class ChgcarDataDoc(BaseModel):
"""
Electron charge density metadata for selected materials.
"""

fs_id: str = Field(None, description="Unique object ID for the charge density data.")
fs_id: str = Field(
None, description="Unique object ID for the charge density data."
)

last_updated: datetime = Field(
None, description="Timestamp for the most recent update to the charge density data.",
None,
description="Timestamp for the most recent update to the charge density data.",
)

task_id: str = Field(
Expand Down
1 change: 1 addition & 0 deletions emmet-core/setup.py
Expand Up @@ -32,6 +32,7 @@
"pydantic==1.8.2",
"pybtex~=0.24",
"typing-extensions>=3.7,<5.0",
"spglib<2.0.0",
],
extras_require={
"all": [
Expand Down

0 comments on commit 5a988de

Please sign in to comment.