Skip to content

Commit

Permalink
run_stats core fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmshn committed Feb 18, 2021
1 parent c17091a commit f08c578
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion emmet-core/emmet/core/vasp/task.py
Expand Up @@ -91,7 +91,10 @@ class RunStatistics(BaseModel):
total_time: float = Field(
None, description="The total CPU time for this calculation"
)
cores: int = Field(None, description="The number of cores used by VASP")
cores: Union[int, str] = Field(
None,
description="The number of cores used by VASP (some clusters print `mpi-ranks` here)",
)


class TaskDocument(StructureMetadata):
Expand Down

0 comments on commit f08c578

Please sign in to comment.