diff --git a/01-BasicConcepts.ipynb b/01-BasicConcepts.ipynb index 57bdbf0..fe84765 100644 --- a/01-BasicConcepts.ipynb +++ b/01-BasicConcepts.ipynb @@ -24,7 +24,7 @@ "outputs": [], "source": [ "import siibra\n", - "assert siibra.__version__ == \"1.0a01\"\n", + "assert siibra.__version__ >= \"1.0a02\"\n", "import os\n", "import matplotlib\n", "%matplotlib notebook" @@ -288,7 +288,8 @@ "outputs": [], "source": [ "from nilearn import plotting\n", - "plotting.plot_stat_map(mpm.fetch(), title=f\"{mpm.parcellation.name} (merged fragments)\")" + "cmap = mpm.get_colormap()\n", + "plotting.plot_roi(mpm.fetch(), cmap=cmap, title=mpm.parcellation.name)" ] }, { @@ -520,9 +521,9 @@ "metadata": {}, "outputs": [], "source": [ - "area44l = julichbrain.get_region('44 right')\n", - "mask = area44l.get_regional_map('bigbrain')\n", - "mask.boundingbox" + "area44r = julichbrain.get_region(\"44 right\")\n", + "bbox = area44r.get_bounding_box(\"bigbrain\")\n", + "bbox" ] }, { diff --git a/02-DataFeatures.ipynb b/02-DataFeatures.ipynb index 5c88ab2..fa622a5 100644 --- a/02-DataFeatures.ipynb +++ b/02-DataFeatures.ipynb @@ -22,7 +22,7 @@ "outputs": [], "source": [ "import siibra\n", - "assert siibra.__version__ == \"1.0a01\"" + "assert siibra.__version__ >= \"1.0a02\"" ] }, { diff --git a/03-ProbabilisticAssignment.ipynb b/03-ProbabilisticAssignment.ipynb index 963df2f..fe56e49 100644 --- a/03-ProbabilisticAssignment.ipynb +++ b/03-ProbabilisticAssignment.ipynb @@ -7,7 +7,7 @@ "outputs": [], "source": [ "import siibra\n", - "assert siibra.__version__ == \"1.0a01\"\n", + "assert siibra.__version__ >= \"1.0a02\"\n", "from nilearn import plotting\n", "import matplotlib.pyplot as plt\n", "%matplotlib notebook" diff --git a/04-DifferentialGeneExpressions.ipynb b/04-DifferentialGeneExpressions.ipynb index 8087b67..c4ac102 100644 --- a/04-DifferentialGeneExpressions.ipynb +++ b/04-DifferentialGeneExpressions.ipynb @@ -29,7 +29,7 @@ "outputs": [], "source": [ "import siibra, siibra_jugex\n", - "assert siibra.__version__ == \"1.0a01\"\n", + "assert siibra.__version__ >= \"1.0a02\"\n", "assert siibra_jugex.__version__ >= \"1.2\"" ] }, diff --git a/05-CombinedWorkflow.ipynb b/05-CombinedWorkflow.ipynb index e6fc5d7..2c5c058 100644 --- a/05-CombinedWorkflow.ipynb +++ b/05-CombinedWorkflow.ipynb @@ -19,7 +19,7 @@ "outputs": [], "source": [ "import siibra\n", - "assert siibra.__version__ == \"1.0a01\"\n", + "assert siibra.__version__ >= \"1.0a02\"\n", "import matplotlib.pyplot as plt\n", "%matplotlib notebook" ] diff --git a/HIBALL-winterschool-2023.ipynb b/HIBALL-winterschool-2023.ipynb index 0ee8d15..cb6b40a 100644 --- a/HIBALL-winterschool-2023.ipynb +++ b/HIBALL-winterschool-2023.ipynb @@ -16,7 +16,7 @@ "outputs": [], "source": [ "import siibra\n", - "assert siibra.__version__ == \"1.0a01\"\n", + "assert siibra.__version__ >= \"1.0a02\"\n", "import matplotlib\n", "%matplotlib notebook\n", "\n",