Skip to content

Issues regarding RDF calculation #22

Description

@surya25m

Hi,
Here, I am calculating RDF using the following command in PyLAT code.

python ~/software/PyLAT/PyLAT.py -g --mol PM --mol Cl --nummol 9 --nummol 9 -f 9_rdf.json -v 2 log.lammps pm.data ful
l.lammpstraj

I got the following error,

beginning COM calculation
Traceback (most recent call last):
File "/home/Surya/software/PyLAT/PyLAT.py", line 254, in
(comx, comy, comz, Lx, Ly, Lz, Lx2, Ly2, Lz2) = c.calcCOM(trjfilename,datfilename, ver)
File "/home/Surya/software/PyLAT/src/calcCOM.py", line 44, in calcCOM
(num_lines, n, num_timesteps, count, line)=self.getnum(trjfilename)
File "/home/Surya/software/PyLAT/src/calcCOM.py", line 68, in getnum
n = int(trjfile.readline())
ValueError: invalid literal for int() with base 10: '8 6.09304 6.99314 5.74305\n'

where, my dump file formate is " ATOMS ID type x y z"
Please, help me where I have done mistakes.

Thanks for your time and attention...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions