fix: A couple of changes to enable cs3d integration build (#5944)
* fix: A couple of changes to enable cs3d integration build * Bun update * fix: Crosshairs tests due to order changes * Fix a race in DicomTagBrowser.spec.ts and update the comparison for the screenshot for seg hydration. * Fix sorting issues by using consistent sort * fix: Inconsistency in scoord loader. Will need an update to screenshot * Fix crosshairs stability issues and random order issues in Scoord * Update the comparison image * Update navigate image * fix: Axios issue * Update to current CS3D
This commit is contained in:
1 parent
66c8e0c195
commit
f6bbd5c779
29 files changed
+565
-295
No files matched your search
@@ -46,8 +46,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
"@cornerstonejs/adapters": "4.20.0",
|
||||
"@cornerstonejs/core": "4.20.0",
|
||||
"@cornerstonejs/adapters": "4.21.2",
|
||||
"@cornerstonejs/core": "4.21.2",
|
||||
"@kitware/vtk.js": "34.15.1"
|
||||
}
|
||||
}
|
||||
@@ -46,8 +46,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
"@cornerstonejs/adapters": "4.20.0",
|
||||
"@cornerstonejs/core": "4.20.0",
|
||||
"@cornerstonejs/adapters": "4.21.2",
|
||||
"@cornerstonejs/core": "4.21.2",
|
||||
"@kitware/vtk.js": "34.15.1"
|
||||
}
|
||||
}
|
||||
@@ -46,9 +46,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
"@cornerstonejs/adapters": "4.20.0",
|
||||
"@cornerstonejs/core": "4.20.0",
|
||||
"@cornerstonejs/tools": "4.20.0",
|
||||
"@cornerstonejs/adapters": "4.21.2",
|
||||
"@cornerstonejs/core": "4.21.2",
|
||||
"@cornerstonejs/tools": "4.21.2",
|
||||
"classnames": "2.5.1"
|
||||
}
|
||||
}
|
||||
@@ -200,8 +200,13 @@ async function _load(
|
||||
srDisplaySet.isRehydratable = isRehydratable(srDisplaySet, mappings);
|
||||
srDisplaySet.isLoaded = true;
|
||||
|
||||
/** Check currently added displaySets and add measurements if the sources exist */
|
||||
displaySetService.activeDisplaySets.forEach(activeDisplaySet => {
|
||||
/** Check currently added displaySets and add measurements if the sources exist.
|
||||
* Walk the SR's study first in default series order (not load order) so SCOORD3D
|
||||
* FrameOfReference matching picks a stable series when several share FOR. */
|
||||
const displaySetsForSRPass = utils.sortDisplaySetsCopy(displaySetService.activeDisplaySets, {
|
||||
studyInstanceUIDFirst: srDisplaySet.StudyInstanceUID,
|
||||
});
|
||||
displaySetsForSRPass.forEach(activeDisplaySet => {
|
||||
_checkIfCanAddMeasurementsToDisplaySet(
|
||||
srDisplaySet,
|
||||
activeDisplaySet,
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
"@cornerstonejs/core": "4.20.0",
|
||||
"@cornerstonejs/tools": "4.20.0",
|
||||
"@cornerstonejs/core": "4.21.2",
|
||||
"@cornerstonejs/tools": "4.21.2",
|
||||
"classnames": "2.5.1"
|
||||
}
|
||||
}
|
||||
@@ -40,7 +40,7 @@
|
||||
"@cornerstonejs/codec-libjpeg-turbo-8bit": "1.2.2",
|
||||
"@cornerstonejs/codec-openjpeg": "1.3.0",
|
||||
"@cornerstonejs/codec-openjph": "2.4.7",
|
||||
"@cornerstonejs/dicom-image-loader": "4.20.0",
|
||||
"@cornerstonejs/dicom-image-loader": "4.21.2",
|
||||
"@ohif/core": "3.13.0-beta.55",
|
||||
"@ohif/ui": "3.13.0-beta.55",
|
||||
"dcmjs": "0.49.4",
|
||||
@@ -53,12 +53,12 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
"@cornerstonejs/adapters": "4.20.0",
|
||||
"@cornerstonejs/ai": "4.20.0",
|
||||
"@cornerstonejs/core": "4.20.0",
|
||||
"@cornerstonejs/labelmap-interpolation": "4.20.0",
|
||||
"@cornerstonejs/polymorphic-segmentation": "4.20.0",
|
||||
"@cornerstonejs/tools": "4.20.0",
|
||||
"@cornerstonejs/adapters": "4.21.2",
|
||||
"@cornerstonejs/ai": "4.21.2",
|
||||
"@cornerstonejs/core": "4.21.2",
|
||||
"@cornerstonejs/labelmap-interpolation": "4.21.2",
|
||||
"@cornerstonejs/polymorphic-segmentation": "4.21.2",
|
||||
"@cornerstonejs/tools": "4.21.2",
|
||||
"@icr/polyseg-wasm": "0.4.0",
|
||||
"@itk-wasm/morphological-contour-interpolation": "1.1.0",
|
||||
"@kitware/vtk.js": "34.15.1",
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
import { utils } from '@ohif/core';
|
||||
|
||||
const { sortingCriteria } = utils;
|
||||
const { seriesSortCriteria } = sortingCriteria;
|
||||
|
||||
/** Stable series order for e2e (Playwright sets TEST_ENV=true via cross-env). */
|
||||
const sortingCriteriaFn =
|
||||
process.env.TEST_ENV === 'true'
|
||||
? seriesSortCriteria.compareSeriesUID
|
||||
: seriesSortCriteria.seriesInfoSortingCriteria;
|
||||
|
||||
export default {
|
||||
sortingCriteria: sortingCriteria.seriesSortCriteria.seriesInfoSortingCriteria,
|
||||
sortingCriteria: sortingCriteriaFn,
|
||||
};
|
||||
@@ -32,8 +32,8 @@
|
||||
"start": "yarn run dev"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@cornerstonejs/core": "4.20.0",
|
||||
"@cornerstonejs/tools": "4.20.0",
|
||||
"@cornerstonejs/core": "4.21.2",
|
||||
"@cornerstonejs/tools": "4.21.2",
|
||||
"@ohif/core": "3.13.0-beta.55",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.55",
|
||||
"@ohif/extension-default": "3.13.0-beta.55",
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
"@cornerstonejs/core": "4.20.0",
|
||||
"@cornerstonejs/tools": "4.20.0",
|
||||
"@cornerstonejs/core": "4.21.2",
|
||||
"@cornerstonejs/tools": "4.21.2",
|
||||
"@ohif/core": "3.13.0-beta.55",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.55",
|
||||
"@ohif/extension-default": "3.13.0-beta.55",
|
||||
|
||||
Reference in new issue
Block a user