Skip to content
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

refactor code so that it can be used to parse standalone lines #3

Open
bernstei opened this issue Jul 26, 2021 · 1 comment
Open

refactor code so that it can be used to parse standalone lines #3

bernstei opened this issue Jul 26, 2021 · 1 comment

Comments

@bernstei
Copy link
Contributor

The original fortran libAtoms extxyz comment line parser was the same as the fortran command line parser. It would be nice to restore this compatibility by making the new extxyz comment line parser usable for the command line passed to a (fortran, but anything, really) program. This requires refactoring the new extxyz code so that the part that parses the comment line can be called with a string. independently of the rest of it, just returning a dict like info.

@jameskermode
Copy link
Member

This would also be needed to allow this library to be used by OVITO, see https://matsci.org/t/cartesian-vs-scaled-coordinates-reading-extxyz-files/51746

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants