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

Make extraction of donor atom lone pair population analysis more robust #15

Open
akalikadien opened this issue Oct 16, 2023 · 0 comments

Comments

@akalikadien
Copy link
Member

Currently the section ending for the orbital occupancy is found in a very flaky way.
Usually the lines look like: 994 H 116 S Ryd( 2S) 0.00288 0.53112
An improved way of finding the correct ending is to strip and process each item of the line of the section into a list until the 3rd item (the atom's index, 116 in this case) is not equal to the amount of atoms in the molecule anymore. Or if an error is raised in the stripping and processing of the line.
This update would need a significant overhaul of the extract_donor_lone_pair_occupancy function in dft_extraction though.

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

1 participant