You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 7, 2019. It is now read-only.
I was able run the example job in the mpworks folder with previous versions. But the recent version is giving me the above mentioned error? It seems like the class PMGJSONEncoder is missing in the newer versions. In the old versions it used be in the pymatgen/serailizers folder.
The text was updated successfully, but these errors were encountered:
On Mon, Sep 15, 2014 at 6:05 PM, Kiran Mathew [email protected]
wrote:
I was able run the example job in the mpworks folder with previous
versions. But the recent version is giving me the above mentioned error? It
seems like the class PMGJSONEncoder is missing in the newer versions. In
the old versions it used be in the pymatgen/serailizers folder.
—
Reply to this email directly or view it on GitHub #7.
i think in multiple places PMGJSONEncoder class is being tried to import through, for example:
mpworks/drones/mp_vaspdrone.py", line 19, in
from pymatgen import Composition, PMGJSONEncoder
ImportError: cannot import name PMGJSONEncoder
There have been several recent updates to pymatgen that are incompatible with the current version of MPWorks. I will be updating MPWorks sometime soon to account for these changes (although I am on travel the next few days). If you need a solution more quickly you can either downgrade your pymatgen version or you can fork MPWorks and replace the imports (in that case, it would be nice if you can contribute back the changes by submitting a pull request)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I was able run the example job in the mpworks folder with previous versions. But the recent version is giving me the above mentioned error? It seems like the class PMGJSONEncoder is missing in the newer versions. In the old versions it used be in the pymatgen/serailizers folder.
The text was updated successfully, but these errors were encountered: