Skip to content

Commit

Permalink
reference the correct calculation in run_type
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamd committed Jun 23, 2021
1 parent 80b088d commit 4f534e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emmet-core/emmet/core/vasp/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class TaskDocument(BaseTaskDocument, StructureMetadata):

@property
def run_type(self) -> RunType:
return run_type(self.input.parameters)
return run_type(self.calcs_reversed[0].get("input",{}).get("parameters",{}))

@property
def task_type(self):
Expand Down

0 comments on commit 4f534e2

Please sign in to comment.