@vitessce/csv 3.8.9 → 3.8.10

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -22
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -2361,13 +2361,7 @@ class SpatialDataAutoConfig extends AbstractAutoConfig {
2361
2361
  };
2362
2362
  }
2363
2363
  if (relPath.match(/^(shapes)\/([^/]*)$/)) {
2364
- options.obsSpots = {
2365
- path: relPath,
2366
- coordinateSystem: firstCoordinateSystem
2367
- };
2368
- }
2369
- if (relPath.match(/^(points)\/([^/]*)$/)) {
2370
- options.obsPoints = {
2364
+ options.obsSegmentations = {
2371
2365
  path: relPath,
2372
2366
  coordinateSystem: firstCoordinateSystem
2373
2367
  };
@@ -2381,21 +2375,6 @@ class SpatialDataAutoConfig extends AbstractAutoConfig {
2381
2375
  // region: null,
2382
2376
  };
2383
2377
  }
2384
- const hasObs = tableEls.find((el) => el.path === `${path}/obs`);
2385
- if (hasObs) {
2386
- const columnOrder = hasObs.attrs?.["column-order"];
2387
- options.obsSets = {
2388
- // region: null,
2389
- tablePath: relPath,
2390
- obsSets: columnOrder.map((c) => ({
2391
- // TODO: determine whether this column is string/categorical.
2392
- // TODO: determine whether this column contains too many
2393
- // categories to make sense to consider a cell set.
2394
- path: `${hasObs.path.substring(1)}/${c}`,
2395
- name: c
2396
- }))
2397
- };
2398
- }
2399
2378
  }
2400
2379
  });
2401
2380
  return options;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/csv",
3
- "version": "3.8.9",
3
+ "version": "3.8.10",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -18,11 +18,11 @@
18
18
  "dependencies": {
19
19
  "d3-array": "^2.4.0",
20
20
  "d3-dsv": "^1.1.1",
21
- "@vitessce/constants-internal": "3.8.9",
22
- "@vitessce/sets-utils": "3.8.9",
23
- "@vitessce/abstract": "3.8.9",
24
- "@vitessce/error": "3.8.9",
25
- "@vitessce/config": "3.8.9"
21
+ "@vitessce/constants-internal": "3.8.10",
22
+ "@vitessce/sets-utils": "3.8.10",
23
+ "@vitessce/abstract": "3.8.10",
24
+ "@vitessce/error": "3.8.10",
25
+ "@vitessce/config": "3.8.10"
26
26
  },
27
27
  "scripts": {
28
28
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",