-
Notifications
You must be signed in to change notification settings - Fork 65
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
Rebuild coordinate system may fail for PrimitiveInternalCoordinates
#160
Comments
Thanks for the issue report, you are correct that this line contains a mistake: geomeTRIC/geometric/optimize.py Line 219 in 9981b39
The context is that
To fix the bug, you should be able to change the code to something like this:
It will first check to see if the Thanks,
|
Thank you for your comprehensive explanation, the PR #161 is submitted, and I thought this would be a little bit more elegant. |
Thank you. :) I merged your changes. Thanks for your patience. |
When optimizing with
coordsys="prim"
, it will occasionally raise the error'PrimitiveInternalCoordinates' object has no attribute 'conmethod'
from the following linegeomeTRIC/geometric/optimize.py
Line 219 in 9981b39
And it seems, in
prim
, theconmethod
was never be usedgeomeTRIC/geometric/internal.py
Lines 2005 to 2024 in 9981b39
in which case the creation of
PrimitiveInternalCoordinates
at first time would be fine, while re-creation of it fails.I wonder if it is the problem in
optmize.py
which could be fixed easily, or the so calledconmethod
is simply not implemented forPrimitiveInternalCoordinates
yet?The text was updated successfully, but these errors were encountered: