-
Notifications
You must be signed in to change notification settings - Fork 18
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
Unit-related AttributeError on code which previously worked #500
Comments
Ah, sorry, this is the documented OpenMM-8 compatibility issue. Cross-posting from elsewhere:
Updating my OpenMM and marking as closed. |
Actually, no, reopening, I have the same issue with OpenMM 8. |
What version are you using? I can't reproduce this with the past couple of releases or the current development head. The output of |
This is after update to OpenMM 8; probably should nuke my environment and downgrade again, but here it is:
|
Arg ... you're in an incompatible state that we weren't able to fully safeguard from. Evaluator 0.3.11 is not meant to work with Toolkit 0.11+; some of the packages were updated but due to quirks of how You managed to luck into |
I can confirm that the recommended |
I was previously using some code to build boxes with evaluator (overkill, I know) and it's currently failing with a unit-related AttributeError. Here's the code:
I get
AttributeError: Neither Quantity object nor its magnitude (92.139036) has attribute 'unit'
fromcoordinate_factory.execute()
.I'm still using OpenMM 7.7. It's not obvious to me what the problem would be, since the tests (which are passing) seem to be calling
add_component
in an identical manner to what I'm doing here.The text was updated successfully, but these errors were encountered: