Fix problem with repeated ensemble names in MISTIS#988
Merged
dwhswenson merged 1 commit intoMar 2, 2021
Conversation
Codecov Report
@@ Coverage Diff @@
## master #988 +/- ##
=======================================
Coverage 80.28% 80.29%
=======================================
Files 136 136
Lines 14468 14471 +3
=======================================
+ Hits 11616 11619 +3
Misses 2852 2852
Continue to review full report at Codecov.
|
Member
Author
|
This is ready for review and comment. I will leave it open for at least 24 hours, merging no earlier than Tue 02 Mar 18:00 GMT (19:00 local). |
sroet
approved these changes
Mar 2, 2021
Merged
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
In MISTIS, there's a distinction between the "input transitions," "sampling transitions" and "(physical) transitions", as described here:
openpathsampling/openpathsampling/high_level/network.py
Lines 742 to 750 in d32c198
However, OPS was auto-naming input transitions (and associated ensembles) with the same names as sampling transitions, potentially causing confusion when trying to load from storage. This PR fixes that by adding a
name_suffixto the transitions, which defaults to an empty string. For input transitions, we usename_suffix=" (input)".