Skip to content

Fix: Prevent crash due to failed linear segment extension - #681

Merged
avcopan merged 1 commit into
Auto-Mech:devfrom
avcopan:dev
Sep 12, 2025
Merged

avcopan merged 1 commit into
Auto-Mech:devfrom
avcopan:dev

Conversation

@avcopan

@avcopan avcopan commented Sep 12, 2025

Copy link
Copy Markdown
Collaborator

This is only used for finding nice direction vectors for dummy atoms, so it isn't essential that it be perfect. In this case, if there is more than one neighbor of a linear segment (this can happen for TS graphs), then it doesn't do the extension.

This is only used for finding nice direction vectors for dummy atoms, so
it isn't essential that it be perfect. In this case, if there is more
than one neighbor of a linear segment (this can happen for TS graphs),
then it doesn't do the extension.
@avcopan
avcopan merged commit 42d368b into Auto-Mech:dev Sep 12, 2025
3 checks passed
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.

1 participant