--
You received this message because you are subscribed to the Google Groups "atomate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to atomate+u...@googlegroups.com.
To post to this group, send email to ato...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Joey
I’ve did a bit more troubleshooting and realized that the problem is actually with my range loop; the range ended up containing nothing, so naturally the script stopped with nothing done but just showing the warning message about the file removal deadline. I mistook the error as from the pymatgen.analysis.elasticity.tensors because I misunderstood the last line of the code in the file as a casual leftover from the older file.
I tested the corrected script and there is no problem with the wf_piezoelectric_constant as far as I can tell. Apologies for the mix up!
Maybe we should delete this thread altogether to avoid confusing others. And thanks a lot for your help on this issue.
Best wishes
Yaze
From: Joseph Montoya
Sent: Wednesday, 21 November 2018 3:19 AM
To: yaz...@gmail.com
Cc: ato...@googlegroups.com
Subject: Re: Error running wf_piezoelectric_constant due to changes inPymatgen
Hi Yaze, the backwards compatibility is achieved via the import statement "from pymatgen.core.tensors import *" in pymatgen.analysis.elasticity.tensors, which ensures that everything in the pymatgen.core.tensors namespace is also present in pymatgen.analysis.elasticity.tensors. Is there a specific instance you have encountered in which this is throwing an error? I'd like to know if this is the case, because I'd prefer to ensure backwards compatibility for the timetable set in the warning, if possible.
On Tue, Nov 20, 2018 at 9:58 AM Yaze Wu <yaz...@gmail.com> wrote:
Hi Joey
Thanks for your help!
From my experience, the code stopped running altogether because the pymatgen.analysis.elasticity.tensors file has no useful content left in it. Guess it was deleted by the pymatgen team. But again, all this should be fixed once we shift to using pymatgen.core.tensors. the only problem I have right now is being unable to find the correct file to modify to enable that switch to using pymatgen.core.tensors...
Best wishes
Yaze