-
Notifications
You must be signed in to change notification settings - Fork 19
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
Cookbook flowchart #520
Cookbook flowchart #520
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #520 +/- ##
=======================================
Coverage 91.29% 91.29%
=======================================
Files 116 116
Lines 7056 7056
=======================================
Hits 6442 6442
Misses 614 614
☔ View full report in Codecov by Sentry. |
OK I think this is ready for final review! If you've looked at it previously, you might need to do a shift+f5 on the RTD page to force your browser to download the updated stylesheet. Future PRs should be smaller as they can just fill in one arrow at a time, so this one helps us visualize what parts of the cookbook are missing! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like a lot of this, but a few changes are probably needed.
Conceptually, I'm not sure that it is accurate to have the simplified run
section for one workflow and not the other. The run
section is the same no matter how you got there.
The run section with detailed run stages is potentially useful, although there won't be any cookbook materials about it here. The ideas are relevant for users, because it explains some of how the simulations are actually run (and they see that in outputs, for example). But only developers of new protocols or executors will actually interact with it directly (that stuff lives in gufe).
Problems with LigandNetwork
This is incorrect:
A LigandNetwork
is the output of a ligand network planning function. If consists of LigandAtomMapping
s associated with its edges, and SmallMoleculeComponent
s as its nodes.
Problems with the run
section
You probably want to put a ProtocolUnitResult
between ProtocolUnit
and ProtocolDAGResult
, and you probably want to show that many ProtocolDAGResult
s feed into a single ProtocolResult
at the end.
Reason number 10294 that I find straight CSS to be a nightmare....
Safari 15.5 (as rendered in the PR on RTD):
|
@dwhswenson - The flowchart looks perfect on Safari 16.5.1 with no extensions, as well as on both Firefox and Chrome. This is encouraging because it suggests that I'm not doing anything wierd by all three major web engine's latest versions, so I think the current implementation will basically work. But I can definitely try and write fallback CSS for features that have only recently been added! Could you let me know what version of Safari you're using? |
@Yoshanuikabundi I'm in 16.3 and I get the FUBAR that @dwhswenson gets too. That said I think we can merge this as-is and do Safari fixes in a future PR since this is pretty neato |
Agreed that "Fix Safari" can be moved to a future PR (other points should still be addressed here). I'm on Safari 15.5; extensions deactivated (only 1Password and Keyword Search installed), viewing the RTD render of the PR. I haven't tested with local builds to see if it is possible that RTD is serving something causing this; @Yoshanuikabundi, did you test in Safari viewing a local build or using the RTD render? (@richardjgowers, I assume you were looking at the RTD render, right?) |
Okie dokes! I tested on RTD on Safari. I think it's just one or two CSS features that older Safaris don't have, but I'll fix them up in another PR. It'll probably look similar on older versions of Chrome and Firefox, but I think most users of those browsers are relatively up-to-date. @mikemhenry Yeah I noticed that while writing it but it appears correct on Chrome and doesn't appear to be particularly consistent on Firefox... So I'm chalking it up to a Firefox bug. I'm glad you like it though! I think having flowcharts written in the same markup as everything else so you can have links and so on is very powerful, and having them pre-rendered is great - users don't need to wait the second or so it takes mermaid to render. I was pretty surprised I was able to make them look this good, which I guess just goes to show how far CSS has come! As emphasised by the fact it breaks in very recent versions of Safari... |
#527 should add a link to the newly documented load network functions to the appropriate part of the flowchart. Other than that, I think this is good to go as long as the build works. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking forward to the eventual Safari fix; everything else lgtm!
This PR organises the Cookbook into a flowchart. As the cookbook is filled out, users will be able to see and locate the cookbook entries for their task graphically.
Opening this PR for feedback!
Developers certificate of origin