-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_structure() for sphinx jobs gives error #1378
Comments
I should open a PR or are you going to work on it? |
@samwaseda if "cells" not in self.generic.list_nodes():
self.generic.cells = np.array([self._job.structure.cell.tolist()]) So as you said changing this line to if "cells" not in self.generic.list_nodes():
self.generic.cells = np.tile(np.array([self._job.structure.cell.tolist()]),(len(self.generic.energy_tot),1,1)) should work? |
Yeah I guess this would work. But this has to be implemented in SPHInX base |
But sphinx base output class has no property of cells. should I then create it? |
Yes |
The issue still exists. As @freyso and I discussed today, the |
Summary
running get_structure() for sphinx job gives error (IndexError: ('cell at step ', 25, ' not found')). Sphinx Job is a DFT relaxation job. and cell typically doesn't change for each step.
The text was updated successfully, but these errors were encountered: