Repository navigation
Re-structure the cookbooks - #2319
Conversation
|
|
||
| The typical way to use the Python API is to load a number of molecules you want to calculate free energies of, construct a :class:`LigandNetwork` connecting them in an efficient way, and then combine that with information for how each ligand should be simulated to construct an :class:`AlchemicalNetwork`, which specifies the entire simulation campaign. This provides a lot of flexibility in how molecules are specified, mapped, connected, and simulated, without exposing a great deal of complexity. OpenFE recommends this workflow for most users. | ||
|
|
||
| .. container:: deflist-flowchart |
There was a problem hiding this comment.
I moved this to the introduction to the user guide instead, though the same chart is also in the under the hood, which we can revisit when we re-organize the user guide maybe?
| A network of ligand transformations. | ||
| loading_molecules | ||
| user_charges | ||
| bespoke_parameters |
There was a problem hiding this comment.
It is pulling the recap heading out of the bespokefit guide and making it an entry here, can we stop it here or do we need to use a smaller heading in that guide?
There was a problem hiding this comment.
I think we have to do that in the ExampleNotebooks repo. Maybe in a separate PR there we can also update some of the titles of the cookbooks since some of these are not great.
There was a problem hiding this comment.
@jthorton I updated the titles here: OpenFreeEnergy/ExampleNotebooks#351
I mostly tried to make them a bit shorter and better suited for display in a side bar, please let me know what you think!
There was a problem hiding this comment.
Can we build the docs against it here by changing
Line 198 in c9eeacd
There was a problem hiding this comment.
Targeting the rename branch for now.
|
|
||
| Cookbook | ||
| ======== | ||
| How-to guides |
There was a problem hiding this comment.
Should we rename the file as well?
There was a problem hiding this comment.
I was thinking of doing that in a follow up PR as it would also mean renaming things in different links, but I could also already do that here!
There was a problem hiding this comment.
I'll leave it up to you happy for either.
|
|
||
| .. admonition:: How-to guides | ||
|
|
||
| * :doc:`/cookbook/dumping_transformation` |
There was a problem hiding this comment.
Should this one be in the execution/index.rst page?
There was a problem hiding this comment.
Yes, I think this could either be in the user guide or we could also have a notebook that looks at saving and inspecting json files and combines the two notebooks?
There was a problem hiding this comment.
Yeah I like the idea of a single notebook on working with the JSON files. In the meantime, we could just add this one to the how-to-guide links on the execution page its currently just a TODO?
| .. TODO make figure | ||
| .. .. figure:: ??? | ||
| :alt: Setup -> (AlchemicalNetwork) -> Execution -> (ProtocolResults) -> Gather | ||
| .. container:: deflist-flowchart |
There was a problem hiding this comment.
The formatting seems to have got messed up with this one.
There was a problem hiding this comment.
I changed this again! Not sure though yet if this is too much detail for the intro page.
There was a problem hiding this comment.
This is working now and does show a nice flow of the workflow so I think it would be okay to keep. I think the section names should match those in the list above so users can match them up.
There was a problem hiding this comment.
Changed the section names!
…ergy/openfe into restructure-cookbooks
…ergy/openfe into restructure-cookbooks
jthorton
left a comment
There was a problem hiding this comment.
Some minor optional points but this is looking much better thanks @hannahbaumann !
|
|
||
| .. rst-class:: arrow-down | ||
| * | ||
| repairing_broken_networks |
There was a problem hiding this comment.
I don't feel super strongly about this, but it makes more sense to me to have "Working with Results" before "Repairing and extending", since it's likely a user would inspect results before deciding to repair or extend.
There was a problem hiding this comment.
I agree, moved this to after the results.
Co-authored-by: Alyssa Travitz <31974495+atravitz@users.noreply.github.com>
atravitz
left a comment
There was a problem hiding this comment.
LGTM! just a reminder to merge OpenFreeEnergy/ExampleNotebooks#351 first and change this back to point to main!

Description
LLM / AI generated code disclosure
LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution:
Checklist
pre-commit.ci autofix.newsentry, or the changes are not user-facing.Manual Tests: these are slow so don't need to be run every commit, only before merging and when relevant changes are made (generally at reviewer-discretion).
Developers certificate of origin