Skip to content
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

Better report error with weights in RMSD #247

Closed
GiovanniBussi opened this issue Jun 15, 2017 · 2 comments
Closed

Better report error with weights in RMSD #247

GiovanniBussi opened this issue Jun 15, 2017 · 2 comments

Comments

@GiovanniBussi
Copy link
Member

I think that when one passes all-zeroes weight to RMSD we should report an error instead of computing NaNs.

GiovanniBussi added a commit that referenced this issue Mar 1, 2018
Only for
RMSD TYPE=OPTIMAL
@GiovanniBussi
Copy link
Member Author

@gtribello I am not able to do it for RMSD TYPE=SIMPLE. Apparently, in that case the normalization of the weights is not done in tools/RMSD.cpp. Can you point me to the place where weights are normalized in the reference module?

@gtribello
Copy link
Member

SingleDomainRMSD.cpp. The function is readReference.

GiovanniBussi added a commit that referenced this issue Aug 27, 2020
This is required to report errors with weights set to zero by mistake.

Related to #247
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants