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 scaling factor for van-der-Waals radii for fragment detection adjustable #45

Merged
merged 4 commits into from
Sep 25, 2024

Conversation

marcelmbn
Copy link
Member

  • ConfigClass entry for the vdW radii scaling parameter (up to now fixed to 4/3). Allows for tighter distance thresholds w.r.t. to fragmentation (safer elimination of single atoms with probably low bond order).
  • adjustable via mindlessgen.toml and from CLI.
  • before, the unused vdW radii were still used in Bohr; they are now converted to Angström via a SotA conversion constant
  • scaling is not done within the vdW radii arrays anymore but as a subsequent step when handling the sum of the covalent radii

Off-topic fixes

  • print out format was broken for sum formula for Molecule.__str__; introduced a new line there to correct it.

Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de>
Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de>
Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de>
@marcelmbn marcelmbn added bug Something isn't working algorithm Related to the back-end algorithm for generating the mindless molecules. labels Sep 24, 2024
@marcelmbn marcelmbn self-assigned this Sep 24, 2024
Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de>
@marcelmbn marcelmbn linked an issue Sep 24, 2024 that may be closed by this pull request
@marcelmbn marcelmbn merged commit 376fe6b into grimme-lab:main Sep 25, 2024
10 checks passed
@marcelmbn marcelmbn deleted the feat/vdw_radii_scaling branch September 26, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
algorithm Related to the back-end algorithm for generating the mindless molecules. bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Distance threshold based on covalent radii for fragment detection
2 participants