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

Wrong cube sizing #527

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Wrong cube sizing #527

merged 1 commit into from
Oct 29, 2021

Conversation

Jordy-prog
Copy link
Contributor

When loading a .mol file containing coordinates where the lower bounds are positive like the upper bound or the upper bound is negative like the lower bound in the x, y and z direction, the formulas that determine the grid boundaries fail. This results in a much larger box being generated than needed for that molecule. I've changed the formulas in a way that encompasses all situations, so that the sign of the loaded coordinates is irrelevant.

Signed-off-by: Jordy Schifferstein [email protected]

…r bounds and negative upper bounds Signed-off-by: Jordy Schifferstein <[email protected]>

Signed-off-by: Jordy <[email protected]>
Copy link
Member

@awvwgk awvwgk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks for sharing.

@awvwgk awvwgk merged commit 025e99e into grimme-lab:master Oct 29, 2021
@awvwgk awvwgk added this to the v6.5.0 milestone Apr 13, 2022
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

Successfully merging this pull request may close these issues.

2 participants