fix: Remove dead code and fix rectangle roi rehydration (#5490)
* Remove dead code and fix rectangle roi rehydration * Revert bun.lock * Remove hardcoded modality * Add e2e tests * Update screewnshots * Adjustments to tests * disabvle test for now * Add test again * Use ohif data soure * Revert changes * Test * Update testdata to include point * Improve tests * Update screenshot --------- Co-authored-by: Andrey Fedorov <andrey.fedorov@gmail.com> Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
This commit is contained in:
19 files changed
+376
-313
No files matched your search
@@ -107,8 +107,8 @@ function getMappedAnnotations(annotation, displaySetService) {
|
||||
const displaySet = displaySetService.getDisplaySetsForSeries(SeriesInstanceUID)[0];
|
||||
|
||||
const { SeriesNumber } = displaySet;
|
||||
const { value } = targetStats;
|
||||
const unit = 'HU';
|
||||
const { value, modalityUnit } = targetStats;
|
||||
const unit = modalityUnit || '';
|
||||
|
||||
annotations.push({
|
||||
SeriesInstanceUID,
|
||||
|
||||
-1
@@ -13,7 +13,6 @@ const supportedTools = [
|
||||
'LivewireContour',
|
||||
'UltrasoundDirectionalTool',
|
||||
'UltrasoundPleuraBLineTool',
|
||||
'SCOORD3DPoint',
|
||||
'SegmentBidirectional',
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user