-
Notifications
You must be signed in to change notification settings - Fork 3
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
Improving Energy and Force Methods #42
Comments
Agree with this improvement as the force mask is already a bit strange and it makes lot of redundant coding down the line. __energy_methods__ = [method_1, method_2, method_3, method_4]
# say method_1 does not give forces
__force_methods__ = [method_1, method_3] By just using a mask on Bonus point if we swap the indexing of the forces that we have currently as they are a little bit strange to index. |
I understand the point and agree with the proposal. However we must introduce a force_mask attribute and make force_methods a property
|
In development here: https://github.com/OpenDrugDiscovery/openQDC/tree/force_mask Add the following:
|
Closing as merged. Added |
Currently, energy and force methods per dataset are given by a list of values. In cases where an energy method does not have forces, the value does not exist in the force method list, for instance,
This can (possibly) cause complications the same index in the two list corresponds to 2 different things causing indexing during forward pass tricky.
Alternative solution
Have an energy method list and a boolean list for forces which specify if its present or not
This will definitely cause multiple downstream complications, therefore needs to be done carefully.
CC. @FNTwin @prtos @S-Thaler
The text was updated successfully, but these errors were encountered: