-
Notifications
You must be signed in to change notification settings - Fork 1
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
can not saved the atom after optimization #39
Comments
Is this also after you updated ASE to the latest development branch? We'd need to figure out the source of this error before changing formats. What is the property that can't be written to xyz? |
I am using chgnet as well and I have been running into the same problem. I think the problem originates in chgnet saving the model features in atoms.arrays, which is not guaranteed to be in the same shape as len(atoms). In ase.extxyz.write_xyz, the property columns to save in xyz files are specified by the following codes:
and when we output the atoms.arrays after performing simulation with CHGNet it shows these keys: |
@hancheng2000's case is more a bug in CHGNet/ASE than it is an issue with ASIMTools. We can handle this by provide a write_atoms function but this is not a priority. I would recommend using the ASE-3.22 or an earlier commit of ASE-3.23 for now. Every other developer has to wait for ASE to become stable to fix these inconsistencies. |
Hi,
I was using
image_array
withoptimize
.The optimization happened smoothly but at the last step it cannot save the optimized atoms to xyz file. Now, I temporarily change it to save as
.traj
file and it works.Here is the sim_input.yaml:
Here is the stderr.txt:
The text was updated successfully, but these errors were encountered: