Conversation
IAlibay
approved these changes
Nov 9, 2022
| @@ -138,17 +137,16 @@ | |||
| "metadata": {}, | |||
| "outputs": [], | |||
| "source": [ | |||
| "from openfe.setup import LigandAtomMapper\n", | |||
| "from openfe.setup.atom_mapping import LigandAtomMapper\n", | |||
| "\n", | |||
| "class CustomMapper(LigandAtomMapper):\n", | |||
| " def __init__(self, remove_middle):\n", | |||
| " super().__init__()\n", | |||
| " self.remove_middle = remove_middle\n", | |||
| " \n", | |||
| " def _mappings_generator(self, molA, molB):\n", | |||
Member
There was a problem hiding this comment.
Do we want to rename things to componentA/B or is it suitably clear if we keep molA/B?
Contributor
There was a problem hiding this comment.
I think it's probably better of two evils to use componentA/B consistently and explain why.
Member
Author
There was a problem hiding this comment.
Done! please revisit. I didn't completely excise the word "molecule," but I used component where I thought it made sense, and added a bit about components.
| @@ -646,11 +644,11 @@ | |||
| " # This score is the highest indices of mapped atoms plus the length of the molecule names\n", | |||
| " # It shows you how to access this information from the mapping. I wouldn't recommend\n", | |||
| " # it for production work.\n", | |||
| " molA_to_molB = mapping.molA_to_molB\n", | |||
| " molA_to_molB = mapping.componentA_to_componentB\n", | |||
Member
There was a problem hiding this comment.
One option might just be to explain why it's called component somewhere?
richardjgowers
approved these changes
Nov 9, 2022
Member
Author
|
wait.. my push didn't take |
Member
Author
|
ok, there it is... Working from a outside my home, looks like WiFi here blocked SSH activity. Just used my phone as a hotspot. |
IAlibay
approved these changes
Nov 10, 2022
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.
This brings this notebook in line with openfe 0.4 and gufe 0.4. Also adds it to testing.