mirror of
https://github.com/OpenFreeEnergy/openfe.git
synced 2026-06-05 06:44:24 +08:00
* add more checks * make precommit manual * apply formatting to pyproject.toml * add TODO * remove unneeded, add a few more * add ruff, but turn everything off * add openfe known first party * format highest-level files * first half of openfe protocols * second half of openfe protocols * openfe protocols formatting, with alyssa's fmt skips * add ruff formatter to precommit * fmt: off all vendored _rfe_utils code * addressing review comments * format openfe/utils * format openfe/setup * first batch of cli formatting * second batch of cli formatting * formatting the rest of openfecli commands * format openfecli/parameters * format openfe/storage * run precommit * Update openfecli/commands/gather.py Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com> * update example notebooks branch for v1.7.0 docs changes (#1615) * bump example notebooks branch * add ipykernel to env * roll back to fixing septop branch * i dont think we want ipykernel * bump to tmp_fix_docs branch * point to branch revert-237-v1.7_cookbooks * point to latest example notebooks release * remove colab button, point to updated example notebooks, reorg landing page (#1618) * remove colab button from example notebooks in docs * point to example notebooks 2025.10.2 * replace 'try' with CLI --------- Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>
43 lines
1.5 KiB
Python
43 lines
1.5 KiB
Python
"""Plugins for the ``fetch`` command"""
|
|
|
|
from openfecli.fetching import URLFetcher, PkgResourceFetcher
|
|
|
|
_EXAMPLE_NB_BASE = "https://raw.githubusercontent.com/OpenFreeEnergy/ExampleNotebooks/main/"
|
|
|
|
RBFE_SHOWCASE = URLFetcher(
|
|
resources=[
|
|
(_EXAMPLE_NB_BASE + "openmm_rbfe/inputs/", "181L_mod_capped_protonated.pdb"),
|
|
(_EXAMPLE_NB_BASE + "openmm_rbfe/inputs/", "Jnk1_ligands.sdf"),
|
|
(_EXAMPLE_NB_BASE + "openmm_rbfe/inputs/", "benzene.sdf"),
|
|
(_EXAMPLE_NB_BASE + "openmm_rbfe/inputs/", "ligands.sdf"),
|
|
(_EXAMPLE_NB_BASE + "openmm_rbfe/inputs/", "styrene.sdf"),
|
|
],
|
|
short_name="rbfe-showcase",
|
|
short_help="Inputs needed for the RBFE Showcase Notebook",
|
|
section="hidden",
|
|
requires_ofe=(0, 9, 1),
|
|
).plugin
|
|
|
|
RBFE_TUTORIAL = URLFetcher(
|
|
resources=[
|
|
(_EXAMPLE_NB_BASE + "rbfe_tutorial/", "tyk2_ligands.sdf"),
|
|
(_EXAMPLE_NB_BASE + "rbfe_tutorial/", "tyk2_protein.pdb"),
|
|
(_EXAMPLE_NB_BASE + "rbfe_tutorial/", "cli_tutorial.md"),
|
|
(_EXAMPLE_NB_BASE + "rbfe_tutorial/", "rbfe_python_tutorial.ipynb"),
|
|
],
|
|
short_name="rbfe-tutorial",
|
|
short_help="CLI and Python tutorial on relative binding free energies",
|
|
section="Tutorials",
|
|
requires_ofe=(0, 7, 0),
|
|
).plugin
|
|
|
|
RBFE_TUTORIAL_RESULTS = PkgResourceFetcher(
|
|
resources=[
|
|
("openfecli.tests.data", "rbfe_results.tar.gz"),
|
|
],
|
|
short_name="rbfe-tutorial-results",
|
|
short_help="Results package to follow-up the rbfe-tutorial",
|
|
section="Tutorials",
|
|
requires_ofe=(0, 7, 5),
|
|
).plugin
|