fix: support external xTB calculation convergence in scf_converged check - #272
fix: support external xTB calculation convergence in scf_converged check#272HeaTTap wants to merge 4 commits into
Conversation
|
HeaTTap seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
There was a problem hiding this comment.
Thank you for the PR. In the original issue I did not specify what string to check. To the best of my knowledge the SCF convergence is signaled by the string convergence criteria satisfied afterand not by xTB END OF CALCULATION (I am not aware that this is printed anywhere in xtb). Also I would ask you to use the PR template and add an entry to the CHANGELOG.md file. Regarding the tests: For SCF convergence we do not use unit tests but integration tests so an additional example using the regular external xtb would be required to be added in examples and a corresponding tests should be added to tests/examples. If anything is unclear or you require further guidance please reach out!
…, and changelog entry
|
Thanks for the review and guidance @haneug! I have updated the PR to address all your feedback:
|
There was a problem hiding this comment.
Thanks for addressing my remarks. Please make sure to run the default nox session uv run nox (Its not well documented, Sorry!), remove the unit test (since we have the integration test). And rename EXTERNAL_XTB_CONVERGED to EXTERNAL_XTB_SCF_CONVERGED to indicate that it is the SCF that converged for the external xtb. Please also sign our license. Otherwise I will not be able to merge your PR.
Signed-off-by: HeaTTap <heatver@gmail.com>
|
Thanks @haneug! Updated the PR per your feedback:
|
|
Please run the nox session: |
|
thanks @haneug! updated everything requested:
|
|
Please make sure that the nox sessions pass: run |
haneug
left a comment
There was a problem hiding this comment.
Please make sure that the nox sessions pass: run uv run nox and sign the license here on GitHub so that we can merge your contribution. We will not be able to do so if you do not sign it.
Closes Issues
Closes #270
Description
patterns.pyto"convergence criteria satisfied after".has_scf_convergedrecipe and unit test intest_output_get_values.py.exmp057_external_xtb_scfand integration testtest_exmp057_external_xtb_scf.pyintests/examples.CHANGELOG.md.Release Notes
Fixed
scf_converged()(scf_converged is always false for external xtb #270).