Skip to content

Commit 8b599b2

Browse files
authored
Merge pull request #720 from alchem0x2A/patch-1
Fix bug in VASP IO write when `spec_structure_key` defined
2 parents c838d13 + e0b8394 commit 8b599b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atomate/vasp/firetasks/write_inputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def run_task(self, fw_spec):
8080
fw_struct = fw_spec.get(spec_structure_key)
8181
dd = vis.as_dict()
8282
dd["structure"] = fw_struct
83-
vis.from_dict(dd)
83+
vis = vis.from_dict(dd)
8484

8585
potcar_spec = self.get("potcar_spec", False)
8686
vis.write_input(".", potcar_spec=potcar_spec)

0 commit comments

Comments
 (0)