fix: Use @cornerstonejs/adapters (#3116)

Also update the sort series to be consistent, using a single version of the series sort, and fix an issue with longitudinal mode export.
This commit is contained in:
Bill Wallace authored and GitHub committed 2023-02-06 17:05:13 -05:00
1 parent 8edd4ec054
commit 0e1a58da79
18 files changed
+141 -53

No files matched your search

+13 -2
View File
@@ -2,7 +2,6 @@ import ObjectPath from './objectPath';
import absoluteUrl from './absoluteUrl';
import guid from './guid';
import sortBy from './sortBy.js';
import sortBySeriesDate from './sortBySeriesDate.js';
import writeScript from './writeScript.js';
import b64toBlob from './b64toBlob.js';
//import loadAndCacheDerivedDisplaySets from './loadAndCacheDerivedDisplaySets.js';
@@ -26,6 +25,13 @@ import debounce from './debounce';
import roundNumber from './roundNumber';
import downloadCSVReport from './downloadCSVReport';
import isEqualWithin from './isEqualWithin';
import {
sortStudy,
sortStudySeries,
sortStudyInstances,
sortingCriteria,
seriesSortCriteria,
} from './sortStudy';
// Commented out unused functionality.
// Need to implement new mechanism for derived displaySets using the displaySetManager.
@@ -35,7 +41,12 @@ const utils = {
ObjectPath,
absoluteUrl,
sortBy,
sortBySeriesDate,
sortBySeriesDate: sortStudySeries,
sortStudy,
sortStudySeries,
sortStudyInstances,
sortingCriteria,
seriesSortCriteria,
writeScript,
formatDate,
formatPN,