@vitessce/heatmap 3.4.12 → 3.4.14

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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { B as BaseDecoder } from "./index-005b1147.js";
2
+ import { B as BaseDecoder } from "./index-bb23d401.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -11033,6 +11033,9 @@ const FileType$1 = {
11033
11033
  // OME-Zarr
11034
11034
  IMAGE_OME_ZARR: "image.ome-zarr",
11035
11035
  OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
11036
+ // OME-Zarr - Zipped
11037
+ IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
11038
+ OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
11036
11039
  // AnnData
11037
11040
  OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
11038
11041
  OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
@@ -11989,24 +11992,29 @@ const imageOmeZarrSchema = z.object({
11989
11992
  imageOmeZarrSchema.extend({
11990
11993
  obsTypesFromChannelNames: z.boolean().optional()
11991
11994
  });
11992
- const imageSpatialdataSchema = imageOmeZarrSchema.extend({
11993
- path: z.string()
11995
+ const imageSpatialdataSchema = z.object({
11996
+ path: z.string(),
11997
+ coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
11994
11998
  });
11995
11999
  const obsSegmentationsSpatialdataSchema = z.object({
11996
- // TODO: should this also extend the imageOmeZarrSchema?
11997
12000
  // TODO: should this be renamed labelsSpatialdataSchema?
11998
12001
  // TODO: support obsTypesFromChannelNames?
11999
- path: z.string()
12002
+ path: z.string(),
12003
+ tablePath: z.string().optional().describe("The path to a table which annotates the labels. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
12004
+ coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
12000
12005
  });
12001
12006
  z.object({
12002
- path: z.string()
12007
+ path: z.string(),
12008
+ coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the coordinates. If not provided, the "global" coordinate system is assumed.')
12003
12009
  });
12004
12010
  const obsSpotsSpatialdataSchema = z.object({
12005
12011
  path: z.string(),
12006
- tablePath: z.string().optional().describe("The path to a table which annotates the spots. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected.")
12012
+ tablePath: z.string().optional().describe("The path to a table which annotates the spots. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
12013
+ coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the coordinates and radii. If not provided, the "global" coordinate system is assumed.')
12007
12014
  });
12008
12015
  const obsFeatureMatrixSpatialdataSchema = annDataObsFeatureMatrix.extend({
12009
- region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional()
12016
+ region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
12017
+ coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
12010
12018
  });
12011
12019
  const obsSetsSpatialdataSchema = z.object({
12012
12020
  region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
@@ -12107,15 +12115,21 @@ anndataZarrSchema.extend({
12107
12115
  z.object({
12108
12116
  // TODO: should `image` be a special schema
12109
12117
  // to allow specifying fileUid (like for embeddingType)?
12118
+ // TODO: allow multiple images
12110
12119
  image: imageSpatialdataSchema,
12111
12120
  // TODO: should this be a special schema
12112
12121
  // to allow specifying fileUid (like for embeddingType)?
12122
+ // TODO: allow multiple labels
12113
12123
  labels: obsSegmentationsSpatialdataSchema,
12114
12124
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
12115
12125
  obsSpots: obsSpotsSpatialdataSchema,
12116
12126
  // TODO: obsPoints
12117
12127
  // TODO: obsLocations
12118
- obsSets: obsSetsSpatialdataSchema
12128
+ obsSets: obsSetsSpatialdataSchema,
12129
+ // TODO: obsEmbedding
12130
+ // TODO: obsLabels
12131
+ // TODO: featureLabels
12132
+ coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
12119
12133
  }).partial();
12120
12134
  z.object({
12121
12135
  obsLabelsTypes: z.array(z.string()).optional(),
@@ -133529,16 +133543,16 @@ function addDecoder(cases, importFn) {
133529
133543
  }
133530
133544
  cases.forEach((c) => registry$1.set(c, importFn));
133531
133545
  }
133532
- addDecoder([void 0, 1], () => import("./raw-f5ac4d51.js").then((m) => m.default));
133533
- addDecoder(5, () => import("./lzw-860d563d.js").then((m) => m.default));
133546
+ addDecoder([void 0, 1], () => import("./raw-4db0cb8e.js").then((m) => m.default));
133547
+ addDecoder(5, () => import("./lzw-06fa89ea.js").then((m) => m.default));
133534
133548
  addDecoder(6, () => {
133535
133549
  throw new Error("old style JPEG compression is not supported.");
133536
133550
  });
133537
- addDecoder(7, () => import("./jpeg-61c3e2a6.js").then((m) => m.default));
133538
- addDecoder([8, 32946], () => import("./deflate-17ee4fbc.js").then((m) => m.default));
133539
- addDecoder(32773, () => import("./packbits-5df44667.js").then((m) => m.default));
133540
- addDecoder(34887, () => import("./lerc-023bfa6c.js").then((m) => m.default));
133541
- addDecoder(50001, () => import("./webimage-b230879f.js").then((m) => m.default));
133551
+ addDecoder(7, () => import("./jpeg-454c64bf.js").then((m) => m.default));
133552
+ addDecoder([8, 32946], () => import("./deflate-a269389e.js").then((m) => m.default));
133553
+ addDecoder(32773, () => import("./packbits-9f579811.js").then((m) => m.default));
133554
+ addDecoder(34887, () => import("./lerc-762f0c49.js").then((m) => m.default));
133555
+ addDecoder(50001, () => import("./webimage-ba05cc9a.js").then((m) => m.default));
133542
133556
  function decodeRowAcc(row, stride) {
133543
133557
  let length2 = row.length - stride;
133544
133558
  let offset5 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, H } from "./index-005b1147.js";
1
+ import { a, H } from "./index-bb23d401.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-005b1147.js";
1
+ import { B as BaseDecoder } from "./index-bb23d401.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-005b1147.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-bb23d401.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-005b1147.js";
1
+ import { B as BaseDecoder } from "./index-bb23d401.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-005b1147.js";
1
+ import { B as BaseDecoder } from "./index-bb23d401.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-005b1147.js";
1
+ import { B as BaseDecoder } from "./index-bb23d401.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-005b1147.js";
1
+ import { B as BaseDecoder } from "./index-bb23d401.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/heatmap",
3
- "version": "3.4.12",
3
+ "version": "3.4.14",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,14 +20,14 @@
20
20
  "lodash-es": "^4.17.21",
21
21
  "uuid": "^9.0.0",
22
22
  "react-aria": "^3.28.0",
23
- "@vitessce/constants-internal": "3.4.12",
24
- "@vitessce/gl": "3.4.12",
25
- "@vitessce/legend": "3.4.12",
26
- "@vitessce/sets-utils": "3.4.12",
27
- "@vitessce/tooltip": "3.4.12",
28
- "@vitessce/utils": "3.4.12",
29
- "@vitessce/vit-s": "3.4.12",
30
- "@vitessce/workers": "3.4.12"
23
+ "@vitessce/constants-internal": "3.4.14",
24
+ "@vitessce/gl": "3.4.14",
25
+ "@vitessce/legend": "3.4.14",
26
+ "@vitessce/sets-utils": "3.4.14",
27
+ "@vitessce/tooltip": "3.4.14",
28
+ "@vitessce/utils": "3.4.14",
29
+ "@vitessce/vit-s": "3.4.14",
30
+ "@vitessce/workers": "3.4.14"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^5.16.4",