-
Notifications
You must be signed in to change notification settings - Fork 151
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
Charge not passed for GFN-FF API call #539
Comments
Currently, GFN-FF is ignoring the molecular charge set in the geometry input, by passing a global variable, Line 80 in 79825ab
This is not a problem in the standalone, since the global variable Line 336 in 79825ab
But breaks in the API since the provided input data is not processed correctly in the |
cc @Thomas3R |
Thank you so much for the clarification @awvwgk!! |
I proposed a patch, which will change the behaviour of GFN-FF to respect the total charge provided with the input molecule. Open for comments. |
Thanks for putting in the fix for this. I tried to test this by pulling down your branch, building the xtb executable and xtb-python extensions. |
Hi, I encountered a problem with xtb python interface for a
gfnff
calculation that raisedEEQ charge constrain error
for a charged molecule. The same works well with direct invocation of xtb from command line so it's a bit puzzling for me. I have the following versions in my envI attached the xyz file I used to run the calculation via command line using
xtb --gfnff xtb_mol.xyz -charge -1
, this works well and the output is inxtb_from_CLI.out
.The python code to reproduce the behaviour is here, and the output is in
xtb_
:The traceback for the error:
xtb_inspection.zip
Please let me know if there is a mistake in using the python interface. Thank you for your time.
The text was updated successfully, but these errors were encountered: