Skip to content

Commit 8c5826a

Browse files
committed
Update installation lines
1 parent 0cb1326 commit 8c5826a

2 files changed

Lines changed: 6 additions & 21 deletions

File tree

notebooks/01-Single-Spatial-View.ipynb

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -976,24 +976,7 @@
976976
},
977977
"outputs": [],
978978
"source": [
979-
"!pip install \"spatialdata-plot==0.4.0\""
980-
]
981-
},
982-
{
983-
"cell_type": "code",
984-
"execution_count": null,
985-
"id": "2e65c668-49de-4883-9451-a50083932813",
986-
"metadata": {
987-
"colab": {
988-
"base_uri": "https://localhost:8080/",
989-
"height": 1000
990-
},
991-
"id": "TIV0fdvoewL8",
992-
"outputId": "6ba23ae9-97b6-4bc0-931e-df0916738739"
993-
},
994-
"outputs": [],
995-
"source": [
996-
"!pip install \"easy_vitessce==0.0.12\""
979+
"!pip install \"spatialdata-plot==0.4.0\" \"easy_vitessce==0.0.12\""
997980
]
998981
},
999982
{

notebooks/02-Multiple-Views.ipynb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"outputs": [],
3232
"source": [
33-
"!pip install \"vitessce[all]==3.9.2\" \"scanpy\" \"easy-vitessce==0.0.11\""
33+
"!pip install \"vitessce[all]==3.9.2\" \"scanpy\" \"easy-vitessce==0.0.12\""
3434
]
3535
},
3636
{
@@ -119,10 +119,12 @@
119119
"from os.path import join, isdir\n",
120120
"import scanpy as sc\n",
121121
"\n",
122-
"from vitessce.data_utils import optimize_adata, VAR_CHUNK_SIZE\n",
122+
"from vitessce.data_utils import VAR_CHUNK_SIZE\n",
123123
"\n",
124124
"# Load Scanpy's built-in reduced PBMC dataset.\n",
125125
"adata = sc.datasets.pbmc68k_reduced()\n",
126+
"sc.tl.tsne(adata)\n",
127+
"\n",
126128
"print(adata)\n",
127129
"print(\"\\nAvailable embeddings:\", list(adata.obsm.keys()))\n",
128130
"print(\"Available obs columns:\", list(adata.obs.columns))"
@@ -267,7 +269,7 @@
267269
" vconcat, hconcat,\n",
268270
")\n",
269271
"\n",
270-
"vc2 = VitessceConfig(schema_version=\"1.0.18\", name=\"Visium example with Spatial + Non-Spatial Views\")\n",
272+
"vc2 = VitessceConfig(schema_version=\"1.0.18\", name=\"Visium example\")\n",
271273
"\n",
272274
"wrapper = SpatialDataWrapper(\n",
273275
" sdata_store=sdata_filepath,\n",

0 commit comments

Comments
 (0)