chore: Clean up unused files, imports, and work on getting end-to-end tests and unit tests running (#2272)
This commit is contained in:
1 parent
414ebc6850
commit
0db81b30f3
374 files changed
+14138
-21288
No files matched your search
@@ -69,8 +69,6 @@ export default {
|
||||
console.warn('No toolname provided to setToolActive command');
|
||||
}
|
||||
|
||||
console.warn('DICOM SR VIEWPORT SETTOOLACTIVE');
|
||||
|
||||
// Set same tool or alt tool
|
||||
const toolAlias = _getToolAlias(toolName);
|
||||
|
||||
|
||||
@@ -4,8 +4,6 @@ import cornerstone from 'cornerstone-core';
|
||||
import TOOL_NAMES from '../constants/toolNames';
|
||||
import SCOORD_TYPES from '../constants/scoordTypes';
|
||||
|
||||
window.cornerstone = cornerstone;
|
||||
|
||||
const globalImageIdSpecificToolStateManager =
|
||||
cornerstoneTools.globalImageIdSpecificToolStateManager;
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import {
|
||||
} from '@ohif/ui';
|
||||
import TOOL_NAMES from './../constants/toolNames';
|
||||
import { adapters } from 'dcmjs';
|
||||
// import getToolStateToCornerstoneMeasurementSchema from './utils/getToolStateToCornerstoneMeasurementSchema';
|
||||
import id from './../id';
|
||||
|
||||
const { formatDate } = utils;
|
||||
@@ -318,7 +317,6 @@ function OHIFCornerstoneSRViewport({
|
||||
// frameRate = 0,
|
||||
} = viewportData.stack;
|
||||
|
||||
// TODO: Does it make more sense to use Context?
|
||||
if (children && children.length) {
|
||||
childrenWithProps = children.map((child, index) => {
|
||||
return (
|
||||
@@ -419,7 +417,6 @@ function OHIFCornerstoneSRViewport({
|
||||
viewportIndex={viewportIndex}
|
||||
imageIds={imageIds}
|
||||
imageIdIndex={currentImageIdIndex}
|
||||
// TODO: ViewportGrid Context?
|
||||
isActive={true} // todo
|
||||
isStackPrefetchEnabled={true} // todo
|
||||
isPlaying={false}
|
||||
|
||||
Reference in new issue
Block a user