-
Notifications
You must be signed in to change notification settings - Fork 17
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
plot_errorvsdistance.py ValueError #14
Comments
Can you give the first 10 rows of your train.xyz |
Here are the first rows. |
I am not familiar with the xyz format, maybe @Kick-H can help you. |
Please also show me your regular exyz format used for this? |
The example in https://github.com/brucefan1983/GPUMD/blob/master/examples/nep_potentials/PbTe/train/test.xyz can be red |
Try this
to tell PyNEP that you are loading extended XYZ file instead of our old @bigd4 Perhaps it is time to completely change to use extended XYZ file, or at least make it as the default? |
I also tried this code, plot_errorvsdistance.py, and got this error:
Please help. I expect the line with 'forces' will fail next too.
Traceback (most recent call last):
File "/home/m/GPUMDcalc/NEPdata/./errorvsdistance.sh", line 26, in
train_data = load_nep('train.xyz')
File "/home/m/NEP-env/lib/python3.9/site-packages/pynep-0.0.1-py3.9-linux-x86_64.egg/pynep/io.py", line 131, in load_nep
n_atoms.append(int(line.split()[0]))
ValueError: invalid literal for int() with base 10: 'Lattice="20.0'
The text was updated successfully, but these errors were encountered: