Skip to content

Commit 1bad845

Browse files
committed
Tests for magnetic deformation and magnetic ordering transformations
1 parent 6d60de6 commit 1bad845

File tree

10 files changed

+98784
-4
lines changed

10 files changed

+98784
-4
lines changed

atomate/vasp/firetasks/parse_outputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ def run_task(self, fw_spec):
847847
task_label = d["task_label"].split(' ')
848848
ordering_index = task_label.index('ordering')
849849
ordering_index = int(task_label[ordering_index + 1])
850-
if self["origins"]:
850+
if self.get("origins", None):
851851
ordering_origin = self["origins"][ordering_index]
852852
else:
853853
ordering_origin = None

0 commit comments

Comments
 (0)