Skip to content

Commit

Permalink
Assert version 0.4a69 and correct a few typos
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmetNSimsek committed Nov 15, 2023
1 parent 714c1e7 commit dac25a2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions 01-BasicConcepts.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"outputs": [],
"source": [
"import siibra\n",
"assert siibra.__version__ >= \"0.4a69\"\n",
"assert siibra.__version__ == \"0.4a69\"\n",
"import os\n",
"import matplotlib\n",
"%matplotlib notebook"
Expand Down Expand Up @@ -313,7 +313,7 @@
"metadata": {},
"outputs": [],
"source": [
"plotting.plot_stat_map(mpm.fetch(fragment='left'), title=mpm.parcellation.name+\" (left)\")"
"plotting.plot_stat_map(mpm.fetch(), title=mpm.parcellation.name)"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion 02-DataFeatures.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"outputs": [],
"source": [
"import siibra\n",
"assert siibra.__version__ >= \"0.4a69\""
"assert siibra.__version__ == \"0.4a69\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion 03-ProbabilisticAssignment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"outputs": [],
"source": [
"import siibra\n",
"assert siibra.__version__ >= \"0.4a65\"\n",
"assert siibra.__version__ == \"0.4a69\"\n",
"from nilearn import plotting\n",
"import matplotlib.pyplot as plt\n",
"%matplotlib notebook"
Expand Down
11 changes: 9 additions & 2 deletions 04-DifferentialGeneExpressions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"outputs": [],
"source": [
"import siibra, siibra_jugex\n",
"assert siibra.__version__ >= \"0.4a65\"\n",
"assert siibra.__version__ == \"0.4a69\"\n",
"assert siibra_jugex.__version__ >= \"1.2\""
]
},
Expand Down Expand Up @@ -125,14 +125,21 @@
"\n",
"for regionname in candidate_regions:\n",
" samples = jugex.get_samples(regionname)\n",
" region = atlas.get_region(regionname)\n",
" region = julichbrain.get_region(regionname)\n",
" pmap = region.fetch_regional_map(\n",
" siibra.spaces.MNI_152_ICBM_2009C_NONLINEAR_ASYMMETRIC, \n",
" siibra.MapType.STATISTICAL\n",
" ) \n",
" display = plotting.plot_glass_brain(pmap, cmap=\"viridis\", title=region.name)\n",
" display.add_markers([s['mnicoord'] for s in samples.values()])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion 05-CombinedWorkflow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"outputs": [],
"source": [
"import siibra\n",
"assert siibra.__version__ >= \"0.4a62\"\n",
"assert siibra.__version__ == \"0.4a69\"\n",
"import matplotlib.pyplot as plt\n",
"%matplotlib notebook"
]
Expand Down

0 comments on commit dac25a2

Please sign in to comment.