@cornerstonejs/polymorphic-segmentation 4.15.17 → 4.15.18
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.
|
@@ -12,6 +12,9 @@ export async function createAndCacheSurfacesFromRaw(segmentationId, rawSurfacesD
|
|
|
12
12
|
if (!color) {
|
|
13
13
|
throw new Error('No color found for segment index, unable to create surface');
|
|
14
14
|
}
|
|
15
|
+
if (!rawSurfaceData.data?.points) {
|
|
16
|
+
throw new Error('No points found for surface');
|
|
17
|
+
}
|
|
15
18
|
const closedSurface = {
|
|
16
19
|
id: `segmentation_${segmentation.segmentationId}_surface_${segmentIndex}`,
|
|
17
20
|
color,
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "4.15.
|
|
1
|
+
export declare const version = "4.15.18";
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '4.15.
|
|
1
|
+
export const version = '4.15.18';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/polymorphic-segmentation",
|
|
3
|
-
"version": "4.15.
|
|
3
|
+
"version": "4.15.18",
|
|
4
4
|
"description": "Polymorphic Segmentation utility for Cornerstone3D",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"@icr/polyseg-wasm": "0.4.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@cornerstonejs/core": "4.15.
|
|
57
|
-
"@cornerstonejs/tools": "4.15.
|
|
56
|
+
"@cornerstonejs/core": "4.15.18",
|
|
57
|
+
"@cornerstonejs/tools": "4.15.18",
|
|
58
58
|
"@kitware/vtk.js": "34.15.1"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "2198d2e21481dd9f7e77148f98693ef0c2e5bdbc"
|
|
61
61
|
}
|