Author Topic: Parsing error in line 428114 of XYZ file  (Read 399 times)

ckfvanadium

  • Newbie
  • *
  • Posts: 1
Parsing error in line 428114 of XYZ file
« on: January 26, 2018, 11:25:22 PM »
I'm reading coordinate data from a txt file, however I ran into this problem.

parsing error in line 428114 of XYZ file.
File parsing error. Unexpected end of file after line 428114.

I have 428112 atoms in my system, the first line is the number of atoms. So the file should end at line 428114.

Alexander Stukowski

  • Administrator
  • Hero Member
  • *****
  • Posts: 500
Re: Parsing error in line 428114 of XYZ file
« Reply #1 on: January 27, 2018, 11:06:32 AM »
Didn’t you forget the comment line, which follows the number of atoms line?

https://en.wikipedia.org/wiki/XYZ_file_format
« Last Edit: February 01, 2018, 01:37:32 PM by Alexander Stukowski »