This repository was archived by the owner on Jan 26, 2022. It is now read-only.
Fixed a bug in msmbuilder/Extras/parallel_assign/lib/remote.py regarding... - #195
Open
jadeshi wants to merge 1 commit into
Open
Fixed a bug in msmbuilder/Extras/parallel_assign/lib/remote.py regarding...#195jadeshi wants to merge 1 commit into
jadeshi wants to merge 1 commit into
Conversation
…ing application of AtomIndices.dat Generators were mistakenly screened with AtomIndices.dat, when all atoms from generators should be used. This fix sets the atom indices attribute to the 'metric' object to None when computing the generators and then restores it afterwards. I've tried this on the ala2 system and it produced correct results.
Contributor
|
Nice find! |
Contributor
|
Perhaps an easier way to fix it would be to use the |
Author
|
I see, that's definitely cleaner. Is there somewhere else the code that requires the metric object to have an 'atomindices' attribute? If not it seems like it could be made to by default not have one. |
Contributor
|
Yeah, it's optional. When the RMSD object doesn't get an atomindices, it just uses all of them. |
Author
|
It seems like it may be a bit awkward to change though, since in the current code the indices are specified with the metric (e.g. rmsd -a AtomIndices.dat) and assigned to the metric, so would we have to change the parsing scheme too? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
... application of AtomIndices.dat
Generators were mistakenly screened with AtomIndices.dat, when all atoms from generators should be used. This fix sets the atom indices attribute to the 'metric' object to None when computing the generators and then restores it afterwards. I've tried this on the ala2 system and it produced correct results.