fix(segmentation): Address issue where segmentation creation failed on layout change (#4153)

This commit is contained in:
Alireza authored and GitHub committed 2024-05-21 16:43:47 -04:00
1 parent 3ea60c3044
commit 29944c8512
9 files changed
+47 -78

No files matched your search

@@ -46,8 +46,8 @@
},
"dependencies": {
"@babel/runtime": "^7.20.13",
"@cornerstonejs/adapters": "^1.71.2",
"@cornerstonejs/core": "^1.71.2",
"@cornerstonejs/adapters": "^1.74.4",
"@cornerstonejs/core": "^1.74.4",
"@kitware/vtk.js": "30.4.1",
"react-color": "^2.19.3"
}
+3 -3
View File
@@ -46,9 +46,9 @@
},
"dependencies": {
"@babel/runtime": "^7.20.13",
"@cornerstonejs/adapters": "^1.71.2",
"@cornerstonejs/core": "^1.71.2",
"@cornerstonejs/tools": "^1.71.2",
"@cornerstonejs/adapters": "^1.74.4",
"@cornerstonejs/core": "^1.74.4",
"@cornerstonejs/tools": "^1.74.4",
"classnames": "^2.3.2"
}
}
@@ -42,9 +42,9 @@
},
"dependencies": {
"@babel/runtime": "^7.20.13",
"@cornerstonejs/core": "^1.71.2",
"@cornerstonejs/streaming-image-volume-loader": "^1.71.2",
"@cornerstonejs/tools": "^1.71.2",
"@cornerstonejs/core": "^1.74.4",
"@cornerstonejs/streaming-image-volume-loader": "^1.74.4",
"@cornerstonejs/tools": "^1.74.4",
"classnames": "^2.3.2"
}
}
+5 -5
View File
@@ -38,7 +38,7 @@
"@cornerstonejs/codec-libjpeg-turbo-8bit": "^1.2.2",
"@cornerstonejs/codec-openjpeg": "^1.2.2",
"@cornerstonejs/codec-openjph": "^2.4.2",
"@cornerstonejs/dicom-image-loader": "^1.71.2",
"@cornerstonejs/dicom-image-loader": "^1.74.4",
"@icr/polyseg-wasm": "^0.4.0",
"@ohif/core": "3.9.0-beta.11",
"@ohif/ui": "3.9.0-beta.11",
@@ -55,10 +55,10 @@
},
"dependencies": {
"@babel/runtime": "^7.20.13",
"@cornerstonejs/adapters": "^1.71.2",
"@cornerstonejs/core": "^1.71.2",
"@cornerstonejs/streaming-image-volume-loader": "^1.71.2",
"@cornerstonejs/tools": "^1.71.2",
"@cornerstonejs/adapters": "^1.74.4",
"@cornerstonejs/core": "^1.74.4",
"@cornerstonejs/streaming-image-volume-loader": "^1.74.4",
"@cornerstonejs/tools": "^1.74.4",
"@icr/polyseg-wasm": "^0.4.0",
"@kitware/vtk.js": "30.4.1",
"html2canvas": "^1.4.1",
@@ -1015,6 +1015,8 @@ class SegmentationService extends PubSubService {
): Promise<void> => {
const segmentation = this.getSegmentation(segmentationId);
toolGroupId = toolGroupId || this._getApplicableToolGroupId();
if (!segmentation) {
throw new Error(`Segmentation with segmentationId ${segmentationId} not found.`);
}
+2 -2
View File
@@ -32,8 +32,8 @@
"start": "yarn run dev"
},
"peerDependencies": {
"@cornerstonejs/core": "^1.71.2",
"@cornerstonejs/tools": "^1.71.2",
"@cornerstonejs/core": "^1.74.4",
"@cornerstonejs/tools": "^1.74.4",
"@ohif/core": "3.9.0-beta.11",
"@ohif/extension-cornerstone-dicom-sr": "3.9.0-beta.11",
"@ohif/ui": "3.9.0-beta.11",