Skip to content

Commit

Permalink
Merge pull request #270 from sivonxay/custodian_data
Browse files Browse the repository at this point in the history
Fix custodian stored data (From issue #262)
  • Loading branch information
computron authored Feb 23, 2019
2 parents 1523796 + 3c113a8 commit 38bf35d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion atomate/vasp/firetasks/run_calc.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ def run_task(self, fw_spec):
c.run()

if os.path.exists(zpath("custodian.json")):
return FWAction(stored_data=loadfn(zpath("custodian.json")))
stored_custodian_data = {"custodian": loadfn(zpath("custodian.json"))}
return FWAction(stored_data=stored_custodian_data)


@explicit_serialize
Expand Down

0 comments on commit 38bf35d

Please sign in to comment.