@vitessce/config 3.6.14 → 3.6.15
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-config.d.ts","sourceRoot":"","sources":["../src/generate-config.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-config.d.ts","sourceRoot":"","sources":["../src/generate-config.js"],"names":[],"mappings":"AAmGA;;;;;;GAMG;AACH,6BALW,MAAM,GAGJ;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,EAAE,CAqB9C;AAGD;;;;YAsEC;AAED;;;;GAIG;AACH,sDAHW;IAAE,GAAG,MAAC;IAAC,QAAQ,MAAC;IAAC,KAAK,MAAA;CAAE,EAAE,GACzB,MAAM,EAAE,CAOnB;AAED;;;;GAIG;AACH,2CAHW;IAAE,GAAG,MAAC;IAAC,QAAQ,MAAC;IAAC,KAAK,MAAA;CAAE,EAAE,iBAC1B,MAAM,GAAC,IAAI;;;GAoDrB;+BAvQ8B,qBAAqB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// TODO: ts-check
|
|
2
2
|
import { FileType } from '@vitessce/constants-internal';
|
|
3
3
|
import { withConsolidated, FetchStore, ZipFileStore, open as zarrOpen, root as zarrRoot } from 'zarrita';
|
|
4
|
+
import { transformEntriesForZipFileStore } from '@vitessce/zarr-utils';
|
|
4
5
|
import { VitessceConfig } from './VitessceConfig.js';
|
|
5
6
|
// Classes for different types of objects
|
|
6
7
|
import { AnnDataAutoConfig } from './generate-config-anndata.js';
|
|
@@ -65,7 +66,9 @@ function getStore(parsedUrl) {
|
|
|
65
66
|
return null;
|
|
66
67
|
}
|
|
67
68
|
return fileType.endsWith('.zip')
|
|
68
|
-
? ZipFileStore.fromUrl(url
|
|
69
|
+
? ZipFileStore.fromUrl(url, {
|
|
70
|
+
transformEntries: transformEntriesForZipFileStore,
|
|
71
|
+
})
|
|
69
72
|
: new FetchStore(url);
|
|
70
73
|
}
|
|
71
74
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/config",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.15",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"dist-tsc"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"zarrita": "0.5.
|
|
20
|
-
"@vitessce/constants-internal": "3.6.
|
|
21
|
-
"@vitessce/utils": "3.6.
|
|
22
|
-
"@vitessce/
|
|
23
|
-
"@vitessce/
|
|
19
|
+
"zarrita": "0.5.3",
|
|
20
|
+
"@vitessce/constants-internal": "3.6.15",
|
|
21
|
+
"@vitessce/utils": "3.6.15",
|
|
22
|
+
"@vitessce/zarr-utils": "3.6.15",
|
|
23
|
+
"@vitessce/globals": "3.6.15"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"bundle": "pnpm exec vite build -c ../../scripts/vite.config.js",
|
package/src/generate-config.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// TODO: ts-check
|
|
2
2
|
import { FileType } from '@vitessce/constants-internal';
|
|
3
3
|
import { withConsolidated, FetchStore, ZipFileStore, open as zarrOpen, root as zarrRoot } from 'zarrita';
|
|
4
|
+
import { transformEntriesForZipFileStore } from '@vitessce/zarr-utils';
|
|
4
5
|
import { VitessceConfig } from './VitessceConfig.js';
|
|
5
6
|
// Classes for different types of objects
|
|
6
7
|
import { AnnDataAutoConfig } from './generate-config-anndata.js';
|
|
@@ -71,7 +72,9 @@ function getStore(parsedUrl) {
|
|
|
71
72
|
return null;
|
|
72
73
|
}
|
|
73
74
|
return fileType.endsWith('.zip')
|
|
74
|
-
? ZipFileStore.fromUrl(url
|
|
75
|
+
? ZipFileStore.fromUrl(url, {
|
|
76
|
+
transformEntries: transformEntriesForZipFileStore,
|
|
77
|
+
})
|
|
75
78
|
: new FetchStore(url);
|
|
76
79
|
}
|
|
77
80
|
|