Skip to content

Commit

Permalink
Make settings loading more robust.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed May 9, 2020
1 parent 1ca1f1a commit 53bbc71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pymatgen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def _load_pmg_settings():
d[k] = v
elif k in ["VASP_PSP_DIR", "MAPI_KEY", "DEFAULT_FUNCTIONAL"]:
d["PMG_" + k] = v
d = d or {}
return dict(d)


Expand Down

0 comments on commit 53bbc71

Please sign in to comment.