Skip to content

Commit

Permalink
Use stable IMP release
Browse files Browse the repository at this point in the history
As of IMP 2.22.0, we should have everything
in the stable release needed to run this
tutorial.
  • Loading branch information
benmwebb committed Dec 12, 2024
1 parent b96416b commit 9d9d6a3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions Jupyter/spatiotemporal-colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,10 @@
"source": [
"# For colab, we need to install IMP\n",
"# Install IMP stable release\n",
"#!add-apt-repository -y ppa:salilab/ppa\n",
"#!apt install imp\n",
"#import sys, os, glob\n",
"#sys.path.append(os.path.dirname(glob.glob('/usr/lib/python*/dist-packages/IMP')[0]))\n",
"\n",
"# Install IMP develop\n",
"!echo \"deb [trusted=yes] https://integrativemodeling.org/nightly/download $(lsb_release -cs)/\" > /etc/apt/sources.list.d/salilab.list\n",
"!apt update\n",
"!add-apt-repository -y ppa:salilab/ppa\n",
"!apt install imp\n",
"import sys, os, glob\n",
"sys.path.append(os.path.dirname(glob.glob('/usr/lib/python*/dist-packages/IMP')[0])) \n",
"sys.path.append(os.path.dirname(glob.glob('/usr/lib/python*/dist-packages/IMP')[0]))\n",
"\n",
"!git clone https://github.com/salilab/imp_spatiotemporal_tutorial.git\n",
"os.chdir('imp_spatiotemporal_tutorial/Jupyter/')"
Expand Down

0 comments on commit 9d9d6a3

Please sign in to comment.