@vitessce/all 3.4.12 → 3.5.0
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-efd5356d.js → deflate-48ab44f6.js} +1 -1
- package/dist/{higlass-32a71267.js → higlass-32619fd7.js} +1 -1
- package/dist/{index-1eed7926.js → index-2d447f13.js} +2 -2
- package/dist/{index-8ed3997f.js → index-509a394d.js} +71826 -43839
- package/dist/index.js +1 -1
- package/dist/{jpeg-e383d75a.js → jpeg-924502fe.js} +1 -1
- package/dist/{lerc-e0ea6e91.js → lerc-1339f69d.js} +1 -1
- package/dist/{lzw-9502d20a.js → lzw-098e43e6.js} +1 -1
- package/dist/{packbits-b61051af.js → packbits-eecc1015.js} +1 -1
- package/dist/{raw-54997420.js → raw-9c07a573.js} +1 -1
- package/dist/{troika-three-text.esm-315428f3.js → troika-three-text.esm-aadb7de3.js} +1 -1
- package/dist/{webimage-e4eb8c23.js → webimage-ebd59020.js} +1 -1
- package/dist-tsc/Vitessce.d.ts.map +1 -1
- package/dist-tsc/Vitessce.js +6 -4
- package/dist-tsc/base-plugins.d.ts +30 -62
- package/dist-tsc/base-plugins.d.ts.map +1 -1
- package/dist-tsc/base-plugins.js +11 -4
- package/dist-tsc/joint-file-types.d.ts.map +1 -1
- package/dist-tsc/joint-file-types.js +21 -3
- package/package.json +26 -25
- package/src/Vitessce.tsx +6 -3
- package/src/base-plugins.ts +17 -2
- package/src/joint-file-types.ts +21 -3
package/src/joint-file-types.ts
CHANGED
|
@@ -261,8 +261,10 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
|
|
|
261
261
|
}
|
|
262
262
|
});
|
|
263
263
|
const { options = {} } = fileDef;
|
|
264
|
+
const defaultCoordinateSystem = options.coordinateSystem;
|
|
264
265
|
return [
|
|
265
266
|
// obsFeatureMatrix
|
|
267
|
+
// TODO: handle multiple obsFeatureMatrix?
|
|
266
268
|
...(options.obsFeatureMatrix ? [{
|
|
267
269
|
...baseFileDef,
|
|
268
270
|
fileType: FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR,
|
|
@@ -275,6 +277,7 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
|
|
|
275
277
|
},
|
|
276
278
|
}] : []),
|
|
277
279
|
// obsSets
|
|
280
|
+
// TODO: handle multiple obsSets?
|
|
278
281
|
...(options.obsSets ? [{
|
|
279
282
|
...baseFileDef,
|
|
280
283
|
fileType: FileType.OBS_SETS_SPATIALDATA_ZARR,
|
|
@@ -285,10 +288,14 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
|
|
|
285
288
|
},
|
|
286
289
|
}] : []),
|
|
287
290
|
// obsSpots
|
|
291
|
+
// TODO: handle multiple obsSpots?
|
|
288
292
|
...(options.obsSpots ? [{
|
|
289
293
|
...baseFileDef,
|
|
290
294
|
fileType: FileType.OBS_SPOTS_SPATIALDATA_ZARR,
|
|
291
|
-
options:
|
|
295
|
+
options: {
|
|
296
|
+
coordinateSystem: defaultCoordinateSystem,
|
|
297
|
+
...options.obsSpots,
|
|
298
|
+
},
|
|
292
299
|
coordinationValues: {
|
|
293
300
|
...extraCoordinationValues,
|
|
294
301
|
obsType: baseFileDef.coordinationValues.obsType,
|
|
@@ -296,11 +303,18 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
|
|
|
296
303
|
}] : []),
|
|
297
304
|
// TODO: obsPoints?
|
|
298
305
|
// TODO: obsLocations?
|
|
306
|
+
// TODO: obsLabels
|
|
307
|
+
// TODO: featureLabels
|
|
308
|
+
// TODO: obsEmbedding
|
|
299
309
|
// image
|
|
310
|
+
// TODO: handle multiple images
|
|
300
311
|
...(options.image ? [{
|
|
301
312
|
...baseFileDef,
|
|
302
313
|
fileType: FileType.IMAGE_SPATIALDATA_ZARR,
|
|
303
|
-
options:
|
|
314
|
+
options: {
|
|
315
|
+
coordinateSystem: defaultCoordinateSystem,
|
|
316
|
+
...options.image,
|
|
317
|
+
},
|
|
304
318
|
coordinationValues: {
|
|
305
319
|
...extraCoordinationValues,
|
|
306
320
|
featureType: baseFileDef.coordinationValues.featureType,
|
|
@@ -308,10 +322,14 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
|
|
|
308
322
|
},
|
|
309
323
|
}] : []),
|
|
310
324
|
// labels
|
|
325
|
+
// TODO: handle multiple labels?
|
|
311
326
|
...(options.labels ? [{
|
|
312
327
|
...baseFileDef,
|
|
313
328
|
fileType: FileType.LABELS_SPATIALDATA_ZARR,
|
|
314
|
-
options:
|
|
329
|
+
options: {
|
|
330
|
+
coordinateSystem: defaultCoordinateSystem,
|
|
331
|
+
...options.labels,
|
|
332
|
+
},
|
|
315
333
|
coordinationValues: {
|
|
316
334
|
...extraCoordinationValues,
|
|
317
335
|
obsType: baseFileDef.coordinationValues.obsType,
|