Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added showcase/OFE-color-horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed showcase/openFE_logo3.png
Binary file not shown.
19 changes: 14 additions & 5 deletions showcase/openfe_showcase.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"id": "cb0d308b-8f50-4ac9-a8a3-550d8a2e3feb",
"metadata": {},
"source": [
"<img src=\"openFE_logo3.png\" width=\"100\"> \n",
"<img src=\"OFE-color-horizontal.png\" width=\"300\"> \n",
"\n",
"# The OpenFE Showcase: Relative Binding Free Energies in the TYK2 System"
"# OpenFE Showcase: Relative Binding Free Energies in the TYK2 System"
]
},
{
Expand Down Expand Up @@ -69,7 +69,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "-jX9udRGehD3",
"metadata": {
"colab": {
Expand All @@ -86,14 +86,17 @@
"# Only run this cell if on google colab\n",
"import os\n",
"if \"COLAB_RELEASE_TAG\" in os.environ:\n",
" # fix for colab's torchvision causing issues\n",
" !rm -r /usr/local/lib/python3.12/dist-packages/torchvision\n",
" \n",
" !pip install -q condacolab\n",
" import condacolab\n",
" condacolab.install_from_url(\"https://github.com/OpenFreeEnergy/openfe/releases/download/v1.6.0/OpenFEforge-1.6.0-Linux-x86_64.sh\")"
" condacolab.install_from_url(\"https://github.com/OpenFreeEnergy/openfe/releases/download/v1.6.1/OpenFEforge-1.6.1-Linux-x86_64.sh\")"
]
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "dlCARZ2_fAI4",
"metadata": {
"colab": {
Expand All @@ -108,12 +111,18 @@
"source": [
"# NBVAL_SKIP\n",
"# Only run this cell if on google colab\n",
"# Colab will say the runtime crashed, but this is expected with `install_from_url`, and you should continue running the next cell\n",
"\n",
"import os\n",
"if \"COLAB_RELEASE_TAG\" in os.environ:\n",
" import condacolab\n",
" import locale\n",
" locale.getpreferredencoding = lambda: \"UTF-8\"\n",
" !mkdir inputs && cd inputs && openfe fetch rbfe-tutorial\n",
" # quick fix for https://github.com/conda-incubator/condacolab/issues/75\n",
" # if deprecation warnings persist, rerun this cell\n",
" import warnings\n",
" warnings.filterwarnings(action=\"ignore\", message=r\"datetime.datetime.utcnow\") \n",
" for _ in range(3):\n",
" # Sometimes we have to re-run the check\n",
" try:\n",
Expand Down
Loading