-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid crushing when can't trsh scan (#763)
In trsh `scan_quality_check()`, ARC checks broken bond and any lowest conformation, excluding those with broken bonds. Ths is step 1.2 in the function. Here we make a minor fix to a KeyError in the line `actions = {'change conformer': conf_xyzs[min_index]}`, and now we only call `conf_xyzs[min_index]` if the length of the list and the index value makes sense.
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters