Skip to content

Commit c697f1d

Browse files
authored
Merge pull request #1484 from FZJ-INM1-BDA/staging
v2.14.17
2 parents 4085ca0 + ce43265 commit c697f1d

File tree

8 files changed

+39
-7
lines changed

8 files changed

+39
-7
lines changed

.prepare_release.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ async function updateCodemeta(version){
9393

9494
const date = new Date()
9595
const YYYY = date.getFullYear().toString()
96-
const MM = date.getMonth().toString().padStart(2, "0")
96+
// getMonth returns index 0 month...
97+
// see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMonth
98+
const MM = (date.getMonth() + 1).toString().padStart(2, "0")
9799
const DD = date.getDate().toString()
98100

99101
codemetaContent["dateModified"] = `${YYYY}-${MM}-${DD}`

codemeta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
],
5858
"codeRepository": "git+https://github.com/fzj-inm1-bda/siibra-explorer.git",
5959
"dateCreated": "2024-08-28",
60-
"dateModified": "2025-01-28",
60+
"dateModified": "2025-03-18",
6161
"datePublished": "2019-04-26",
6262
"description": "`siibra-explorer` is a browser based 3D viewer for exploring brain atlases that cover different spatial resolutions and modalities. It is built around an interactive 3D view of the brain displaying a unique selection of detailed templates and parcellation maps for the human, macaque, rat or mouse brain, including BigBrain as a microscopic resolution human brain model at its full resolution of 20 micrometers. ",
6363
"license": "https://spdx.org/licenses/Apache-2.0",
@@ -66,9 +66,9 @@
6666
"python 3",
6767
"typescript"
6868
],
69-
"schema:releaseNotes": "# v2.14.16\n\n## Feature\n\n- allow position of substrate to be customized (#1479)\n- parse template `meta.json` endpoint, and use RBG color map when prompted\n- drag&drop nifti auto clamp & auto set highest value as threshold max\n- (experimental): added support to fetch `.dzi` transform\n- (experimental): added support for zarr(2) as data feature\n\n## Bugfix\n\n- fix issue where repeated request for saneURL yield unstable behavior\n- fix regression where oblique slicing in parcellation with large number of regions causes signficant slow down\n\n## Behind the scene\n\n- added prepare release to package.json script\n- bump ng-layer-tune version, for inclusion of orange colormap\n- use more efficient endpoint to retrieve available maps\n- attempt to parse template theme (dark/light) via `meta.json`\n- parses opacity attribute of volumes overlay volumes via `meta.json`\n",
69+
"schema:releaseNotes": "# v2.14.17\n\n## Documentation\n\n- added video tutorial on drag and drop nifti\n- fixed latest release script",
7070
"runtimePlatform": "docker",
71-
"version": "2.14.16",
71+
"version": "2.14.17",
7272
"contIntegration": "https://github.com/FZJ-INM1-BDA/siibra-explorer/actions",
7373
"codemeta:continuousIntegration": {
7474
"id": "https://github.com/FZJ-INM1-BDA/siibra-explorer/actions"

docs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
autogen_images
2+
venv

docs/advanced/superimposing_local_files.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ siibra-explorer experimentally supports overlaying spatial features on top of ex
1010

1111
To start, navigate to the atlas/template/parcellation map of your choice, then drag and drop the file you would like to super impose.
1212

13+
<figure>
14+
<video controls="true" allowfullscreen="true">
15+
<source src="https://data-proxy.ebrains.eu/api/v1/buckets/interactive-atlas-viewer/videos/20250221-drag-drop-siibra-paper.mp4" type="video/mp4">
16+
</video>
17+
</figure>
18+
1319
## NIFTI
1420

1521
!!! info

docs/releases/v2.14.17.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# v2.14.17
2+
3+
## Documentation
4+
5+
- added video tutorial on drag and drop nifti
6+
- fixed latest release script

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ nav:
4545
- Differential gene expression analysis: "advanced/differential_gene_expression_analysis.md"
4646

4747
- Release notes:
48+
- v2.14.17: 'releases/v2.14.17.md'
4849
- v2.14.16: 'releases/v2.14.16.md'
4950
- v2.14.15: 'releases/v2.14.15.md'
5051
- v2.14.14: 'releases/v2.14.14.md'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "siibra-explorer",
3-
"version": "2.14.16",
3+
"version": "2.14.17",
44
"description": "siibra-explorer - explore brain atlases. Based on humanbrainproject/nehuba & google/neuroglancer. Built with angular",
55
"scripts": {
66
"lint": "eslint src --ext .ts",

src/atlasComponents/sapi/translateV3.ts

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,25 @@ function metaFactory(url: string): MetaV1Schema{
3131
type: "image/1d",
3232
range: [{
3333
min: 0.218,
34-
max: 0.220
34+
max: 0.221
3535
}]
36-
}
36+
},
37+
bestViewPoints: [{
38+
type: "enclosed",
39+
points: [{
40+
type: "point",
41+
value: [-70.677, 0, 62.222]
42+
},{
43+
type: "point",
44+
value: [-70.677, 0, -58.788]
45+
},{
46+
type: "point",
47+
value: [68.533, 0, -58.788]
48+
},{
49+
type: "point",
50+
value: [68.533, 0, 62.222]
51+
}]
52+
}],
3753
}
3854
}
3955
if (url.includes("tanner")) {

0 commit comments

Comments
 (0)