@vitessce/zarr 3.8.13 → 3.9.1

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/index.js CHANGED
@@ -4246,6 +4246,7 @@ const CoordinationType$1 = {
4246
4246
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
4247
4247
  OBS_SET_EXPANSION: "obsSetExpansion",
4248
4248
  OBS_SET_COLOR: "obsSetColor",
4249
+ FEATURE_COLOR: "featureColor",
4249
4250
  FEATURE_HIGHLIGHT: "featureHighlight",
4250
4251
  FEATURE_SELECTION: "featureSelection",
4251
4252
  FEATURE_SET_SELECTION: "featureSetSelection",
@@ -4820,6 +4821,8 @@ const CoordinationType$1 = {
4820
4821
  CoordinationType$1.OBS_SET_FILTER,
4821
4822
  CoordinationType$1.OBS_SET_HIGHLIGHT,
4822
4823
  CoordinationType$1.OBS_SET_COLOR,
4824
+ CoordinationType$1.FEATURE_COLOR,
4825
+ CoordinationType$1.FEATURE_FILTER_MODE,
4823
4826
  CoordinationType$1.FEATURE_HIGHLIGHT,
4824
4827
  CoordinationType$1.FEATURE_SELECTION,
4825
4828
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
@@ -5034,6 +5037,8 @@ const CoordinationType$1 = {
5034
5037
  CoordinationType$1.SPATIAL_SPOT_STROKE_WIDTH,
5035
5038
  CoordinationType$1.SPATIAL_LAYER_COLOR,
5036
5039
  CoordinationType$1.OBS_COLOR_ENCODING,
5040
+ CoordinationType$1.FEATURE_COLOR,
5041
+ CoordinationType$1.FEATURE_FILTER_MODE,
5037
5042
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
5038
5043
  CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
5039
5044
  CoordinationType$1.FEATURE_SELECTION,
@@ -5990,7 +5995,7 @@ class ObsPointsAnndataLoader extends AbstractTwoStepLoader {
5990
5995
  this.loadPoints()
5991
5996
  ]);
5992
5997
  return new LoaderResult(
5993
- { obsIndex, obsPoints },
5998
+ { obsIndex, obsPoints, obsPointsTilingType: "full" },
5994
5999
  null,
5995
6000
  coordinationValues
5996
6001
  );
@@ -14622,7 +14627,9 @@ const obsSegmentationsSpatialdataSchema = z.object({
14622
14627
  const obsPointsSpatialdataSchema = z.object({
14623
14628
  path: z.string().describe("The path to the point data."),
14624
14629
  tablePath: z.string().optional().describe("The path to a table which annotates the points. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
14625
- 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.')
14630
+ 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.'),
14631
+ featureIndexColumn: z.string().optional().describe("The name of the column in the table which contains the feature (e.g., gene) indices associated with each point (aligned with the table var.index dataframe column)."),
14632
+ mortonCodeColumn: z.string().optional().describe('The name of the column in the table which contains the Morton codes for each point, used for efficient spatial querying. If not provided, Vitessce will assume the default column name "morton_code_2d".')
14626
14633
  });
14627
14634
  z.object({
14628
14635
  path: z.string(),
@@ -12,6 +12,7 @@ export default class ObsPointsAnndataLoader extends AbstractTwoStepLoader<any> {
12
12
  load(): Promise<LoaderResult<{
13
13
  obsIndex: any;
14
14
  obsPoints: any;
15
+ obsPointsTilingType: string;
15
16
  }>>;
16
17
  }
17
18
  import { AbstractTwoStepLoader } from '@vitessce/abstract';
@@ -1 +1 @@
1
- {"version":3,"file":"ObsPointsAnndataLoader.d.ts","sourceRoot":"","sources":["../../src/anndata-loaders/ObsPointsAnndataLoader.js"],"names":[],"mappings":"AAGA;;GAEG;AACH;;IACE;;;OAGG;IACH,2BAWC;IALG,eAAqE;IAOzE;;;QA2BC;CACF;sCApDmD,oBAAoB;6BAApB,oBAAoB"}
1
+ {"version":3,"file":"ObsPointsAnndataLoader.d.ts","sourceRoot":"","sources":["../../src/anndata-loaders/ObsPointsAnndataLoader.js"],"names":[],"mappings":"AAGA;;GAEG;AACH;;IACE;;;OAGG;IACH,2BAWC;IALG,eAAqE;IAOzE;;;;QA2BC;CACF;sCApDmD,oBAAoB;6BAApB,oBAAoB"}
@@ -42,6 +42,6 @@ export default class ObsPointsAnndataLoader extends AbstractTwoStepLoader {
42
42
  this.dataSource.loadObsIndex(path),
43
43
  this.loadPoints(),
44
44
  ]);
45
- return new LoaderResult({ obsIndex, obsPoints }, null, coordinationValues);
45
+ return new LoaderResult({ obsIndex, obsPoints, obsPointsTilingType: 'full' }, null, coordinationValues);
46
46
  }
47
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/zarr",
3
- "version": "3.8.13",
3
+ "version": "3.9.1",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -22,18 +22,18 @@
22
22
  "apache-arrow": "^17.0.0",
23
23
  "parquet-wasm": "^0.6.1",
24
24
  "ol": "^10.2.1",
25
- "@vitessce/abstract": "3.8.13",
26
- "@vitessce/error": "3.8.13",
27
- "@vitessce/sets-utils": "3.8.13",
28
- "@vitessce/image-utils": "3.8.13",
29
- "@vitessce/constants-internal": "3.8.13",
30
- "@vitessce/zarr-utils": "3.8.13",
31
- "@vitessce/utils": "3.8.13",
32
- "@vitessce/config": "3.8.13",
33
- "@vitessce/globals": "3.8.13"
25
+ "@vitessce/abstract": "3.9.1",
26
+ "@vitessce/error": "3.9.1",
27
+ "@vitessce/constants-internal": "3.9.1",
28
+ "@vitessce/sets-utils": "3.9.1",
29
+ "@vitessce/image-utils": "3.9.1",
30
+ "@vitessce/utils": "3.9.1",
31
+ "@vitessce/zarr-utils": "3.9.1",
32
+ "@vitessce/config": "3.9.1",
33
+ "@vitessce/globals": "3.9.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@vitessce/types": "3.8.13"
36
+ "@vitessce/types": "3.9.1"
37
37
  },
38
38
  "scripts": {
39
39
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
@@ -45,7 +45,7 @@ export default class ObsPointsAnndataLoader extends AbstractTwoStepLoader {
45
45
  this.loadPoints(),
46
46
  ]);
47
47
  return new LoaderResult(
48
- { obsIndex, obsPoints },
48
+ { obsIndex, obsPoints, obsPointsTilingType: 'full' },
49
49
  null,
50
50
  coordinationValues,
51
51
  );