-
Notifications
You must be signed in to change notification settings - Fork 4
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
C example reads the whole 2nd line as a comment #20
Comments
This change is probably related to how you added the extra args in #19, since I recall the new interface provides functionality which can optionally read the whole comment line into a string rather than an info dict. This is for compatibilty with plain (i.e. not extended) XYZ files. If you show me the changes you made to |
see #21 with the changes now |
Here's another peculiarity: If I shorten this file a little, the the same program ends with a segfault:
However, ASE can read this and it also looks reasonable to me as an XYZ file. Tried on MacOS and using ubuntu/gcc-13 in Docker as well:
|
File looks OK to me too so that looks like a bug. Can you post a full stacktrace? Will require compling with debugging symbols ( |
I've tried adding
|
Building the C example (ARM Mac, clang15, #19 resolved with hard-coding local paths) compiles, but reads the 2nd line of a file entirely as the
comment
key of theinfo
dict. I'd expect it to read the Lattice and other keys separately.example.xyz
:running
./cextxyz example.xyz T
The text was updated successfully, but these errors were encountered: