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

Empty line after ATOMIC_SPECIES makes the parser fail #52

Open
giovannipizzi opened this issue Feb 2, 2021 · 1 comment
Open

Empty line after ATOMIC_SPECIES makes the parser fail #52

giovannipizzi opened this issue Feb 2, 2021 · 1 comment

Comments

@giovannipizzi
Copy link
Member

The attached file input.txt cannot be parsed by the current version of the library; removing the empty line after ATOMIC_SPECIES works, instead.
Probably the easiest solution (probably also to similar other issues in other cards and namelists) would be to remove empty lines before parsing?

@greschd
Copy link
Member

greschd commented Feb 2, 2021

Yeah, agreed that removing empty lines would make sense. I tried having a quick look into the Fortran documentation, but couldn't find conclusive evidence either way whether empty lines are (always) ignored.

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