Skip to content

plot_errorvsdistance.py ValueError #14

@MES-physics

Description

@MES-physics

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions