Skip to content

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 jordyschifferstein@hotmail.com

…r bounds and negative upper bounds Signed-off-by: Jordy Schifferstein <jordyschifferstein@hotmail.com>

Signed-off-by: Jordy <jordyschifferstein@hotmail.com>
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