-
Notifications
You must be signed in to change notification settings - Fork 18
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
Duck tape broken networks #144
Conversation
Hello @RiesBen! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-09-17 13:26:30 UTC |
removing copy past artefact :)
Saving transformations to json
Co-authored-by: Hannah Baumann <[email protected]>
Co-authored-by: Hannah Baumann <[email protected]>
Co-authored-by: Hannah Baumann <[email protected]>
Closing as supplemented. |
This adds a script for taping disconnected networks together.
Functionality:
The script will read in the input alchemical network that was created to run all simulations (default: './alchemicalNetwork/alchemical_network.json') and the resulting result .json files (default: './results*/*json'). From this information the script will detect missing nodes and network disconnectivities steming from edge simulation failure. (It will expect at least one solvent and one complex edge being finished in order to accept an edge as successful.)
Next the script will use Konnektor to tape the disconnected network parts and missing nodes together to a fixed network. for each compartment, three edges will be used by default to connect the network. The approach here works in a greedy fashion and starts with the largest compartment and adds the next largest with 3 edges to it. in the next iteration the next largest compartment is added to the already merged network with 3 edges and so on.
Afterwards a new alchemicalNetwork containing only the connnecting edges will be written out (default: './tapesForAlchemicalNetwork'). This can be used to add misisng network connections to your already precalculated result folders. After simulating the additional edges, from the new alchemical network folder, you will be able to simply use the same analysis approach to retrieve the now hopefully connected network information.
ToDos: