Skip to content

Conversation

@jonathan-schoeps
Copy link
Contributor

@jonathan-schoeps jonathan-schoeps commented Apr 30, 2025

Description

This pull request addresses a bug reported in issue #415, where the number of unpaired electrons was not correctly passed to xtb/tblite calculations. This led to incorrect spin states being used in some calculations.

Solution

The fix explicitly specifies the number of unpaired electrons in each xtb call using the --uhf flag. This ensures that the low spin spin state is consistently applied during all relevant calculations.

Addition

Two new keywords, -msei and -mscid, were introduced as a foundational step toward supporting both modes of the msreact feature.

… for the mscid and msei mode

Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de>
Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de>
@gorges97
Copy link
Contributor

Looks good to me and should resolve the bug described in issue #415 , that occurs with the latest xtb version.

Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de>
@pprcht pprcht merged commit ccce4d2 into crest-lab:master May 14, 2025
8 of 9 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.

3 participants