Skip to content

Commit c694bc4

Browse files
committed
updated colab imports
1 parent cfe878c commit c694bc4

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

docs/notebooks/cell2location_tutorial.ipynb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,8 @@
5353
"source": [
5454
"import sys\n",
5555
"\n",
56-
"#if branch is stable, will install via pypi, else will install from source\n",
57-
"branch = \"github\"\n",
58-
"user = \"BayraktarLab\"\n",
5956
"IN_COLAB = \"google.colab\" in sys.modules\n",
60-
"\n",
6157
"if IN_COLAB and branch == \"stable\":\n",
62-
" !pip install --quiet cell2location\n",
63-
"elif IN_COLAB and branch != \"stable\":\n",
64-
" !pip install --quiet --upgrade jsonschema\n",
6558
" !pip install --quiet git+https://github.com/BayraktarLab/cell2location#egg=cell2location[tutorials]\n",
6659
"\n",
6760
"import scanpy as sc\n",

0 commit comments

Comments
 (0)