-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathfetchables.py
More file actions
28 lines (24 loc) · 988 Bytes
/
fetchables.py
File metadata and controls
28 lines (24 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""Plugins for the ``fetch`` command"""
from openfecli.fetching import PkgResourceFetcher, URLFetcher
_EXAMPLE_NB_BASE = "https://raw.githubusercontent.com/OpenFreeEnergy/ExampleNotebooks/main/"
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