@vitessce/spatial-utils 3.5.6 → 3.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{deflate-72995733.js → deflate-a18aa092.js} +1 -1
- package/dist/{index-ac1a35fe.js → index-677eeed0.js} +923 -803
- package/dist/index.js +1 -1
- package/dist/{jpeg-defa9e7c.js → jpeg-8fc6d0e2.js} +1 -1
- package/dist/{lerc-016c6bf9.js → lerc-bbd3647a.js} +1 -1
- package/dist/{lzw-04aab5f2.js → lzw-3c031ccf.js} +1 -1
- package/dist/{packbits-3b8eecdb.js → packbits-184fd0f9.js} +1 -1
- package/dist/{raw-50921dfc.js → raw-ee86fdce.js} +1 -1
- package/dist/{webimage-98d89993.js → webimage-b6c0ac98.js} +1 -1
- package/dist/zstd-561fda0e.js +778 -0
- package/dist-tsc/spatial.js +2 -1
- package/package.json +7 -6
- package/src/spatial.js +2 -2
- package/dist/zstd-ec5a40b8.js +0 -808
package/dist-tsc/spatial.js
CHANGED
|
@@ -3,6 +3,7 @@ import { Matrix4 } from 'math.gl';
|
|
|
3
3
|
import { divide, compare, unit } from 'mathjs';
|
|
4
4
|
import { VIEWER_PALETTE } from '@vitessce/utils';
|
|
5
5
|
import { GLOBAL_LABELS, DEFAULT_RASTER_LAYER_PROPS } from '@vitessce/constants-internal';
|
|
6
|
+
import { log } from '@vitessce/globals';
|
|
6
7
|
import { getMultiSelectionStats } from './layer-controller.js';
|
|
7
8
|
/**
|
|
8
9
|
* Get a representative PixelSource from a loader object returned from
|
|
@@ -448,7 +449,7 @@ export function normalizeCoordinateTransformations(coordinateTransformations, da
|
|
|
448
449
|
if (type === 'sequence') {
|
|
449
450
|
return normalizeCoordinateTransformations(transform.transformations, datasets);
|
|
450
451
|
}
|
|
451
|
-
|
|
452
|
+
log.warn(`Coordinate transformation type "${type}" is not supported.`);
|
|
452
453
|
}
|
|
453
454
|
// Assume it was already an old-style (NGFF v0.4) coordinate transformation.
|
|
454
455
|
return transform;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/spatial-utils",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.8",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -17,13 +17,14 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"lodash-es": "^4.17.21",
|
|
20
|
-
"zarrita": "0.4.0
|
|
20
|
+
"zarrita": "0.4.0",
|
|
21
21
|
"math.gl": "^3.5.6",
|
|
22
22
|
"mathjs": "^9.2.0",
|
|
23
|
-
"@vitessce/gl": "3.5.
|
|
24
|
-
"@vitessce/utils": "3.5.
|
|
25
|
-
"@vitessce/zarr-utils": "3.5.
|
|
26
|
-
"@vitessce/constants-internal": "3.5.
|
|
23
|
+
"@vitessce/gl": "3.5.8",
|
|
24
|
+
"@vitessce/utils": "3.5.8",
|
|
25
|
+
"@vitessce/zarr-utils": "3.5.8",
|
|
26
|
+
"@vitessce/constants-internal": "3.5.8",
|
|
27
|
+
"@vitessce/globals": "3.5.8"
|
|
27
28
|
},
|
|
28
29
|
"scripts": {
|
|
29
30
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",
|
package/src/spatial.js
CHANGED
|
@@ -3,8 +3,8 @@ import { Matrix4 } from 'math.gl';
|
|
|
3
3
|
import { divide, compare, unit } from 'mathjs';
|
|
4
4
|
import { VIEWER_PALETTE } from '@vitessce/utils';
|
|
5
5
|
import { GLOBAL_LABELS, DEFAULT_RASTER_LAYER_PROPS } from '@vitessce/constants-internal';
|
|
6
|
+
import { log } from '@vitessce/globals';
|
|
6
7
|
import { getMultiSelectionStats } from './layer-controller.js';
|
|
7
|
-
|
|
8
8
|
/**
|
|
9
9
|
* Get a representative PixelSource from a loader object returned from
|
|
10
10
|
* the Vitessce imaging loaders
|
|
@@ -500,7 +500,7 @@ export function normalizeCoordinateTransformations(coordinateTransformations, da
|
|
|
500
500
|
if (type === 'sequence') {
|
|
501
501
|
return normalizeCoordinateTransformations(transform.transformations, datasets);
|
|
502
502
|
}
|
|
503
|
-
|
|
503
|
+
log.warn(`Coordinate transformation type "${type}" is not supported.`);
|
|
504
504
|
}
|
|
505
505
|
// Assume it was already an old-style (NGFF v0.4) coordinate transformation.
|
|
506
506
|
return transform;
|