Skip to content

Commit

Permalink
chore: cleanup dcmjs imports
Browse files Browse the repository at this point in the history
* Update imports in /platform

* Update dcmjs imports in /extentions
  • Loading branch information
khalidwilliams authored Apr 28, 2020
1 parent 51b4e60 commit f09ebbe
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion extensions/dicom-html/src/DicomHtmlViewport.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import * as dcmjs from 'dcmjs';
import dcmjs from 'dcmjs';
import TypedArrayProp from './TypedArrayProp';

import './DicomHtmlViewport.css';
Expand Down
2 changes: 1 addition & 1 deletion extensions/dicom-rt/src/loadRTStruct.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import OHIF from '@ohif/core';
import * as dcmjs from 'dcmjs';
import dcmjs from 'dcmjs';
import cornerstone from 'cornerstone-core';
import cornerstoneTools from 'cornerstone-tools';
import transformPointsToImagePlane from './utils/transformPointsToImagePlane';
Expand Down
2 changes: 1 addition & 1 deletion extensions/dicom-segmentation/src/loadSegmentation.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import OHIF from '@ohif/core';
import * as dcmjs from 'dcmjs';
import dcmjs from 'dcmjs';
import cornerstone from 'cornerstone-core';
import cornerstoneTools from 'cornerstone-tools';

Expand Down
2 changes: 1 addition & 1 deletion platform/core/src/DICOMSR/handleStructuredReport.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as dcmjs from 'dcmjs';
import dcmjs from 'dcmjs';
import { api } from 'dicomweb-client';

import DICOMWeb from '../DICOMWeb';
Expand Down
2 changes: 1 addition & 1 deletion platform/core/src/DICOMSR/parseDicomStructuredReport.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as dcmjs from 'dcmjs';
import dcmjs from 'dcmjs';

import findInstanceMetadataBySopInstanceUID from './utils/findInstanceMetadataBySopInstanceUid';

Expand Down
2 changes: 1 addition & 1 deletion platform/core/src/DICOMSR/parseMeasurementsData.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as dcmjs from 'dcmjs';
import dcmjs from 'dcmjs';
import cornerstone from 'cornerstone-core';

import log from '../log';
Expand Down
2 changes: 1 addition & 1 deletion platform/core/src/DICOMSR/utils/isToolSupported.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as dcmjs from 'dcmjs';
import dcmjs from 'dcmjs';

/**
* Checks if dcmjs has support to determined tool
Expand Down
2 changes: 1 addition & 1 deletion platform/core/src/classes/MetadataProvider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as dcmjs from 'dcmjs';
import dcmjs from 'dcmjs';
import queryString from 'query-string';
import dicomParser from 'dicom-parser';
import getPixelSpacingInformation from '../utils/metadataProvider/getPixelSpacingInformation';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as dcmjs from 'dcmjs';
import dcmjs from 'dcmjs';
import cornerstoneWADOImageLoader from 'cornerstone-wado-image-loader';
import FileLoader from './fileLoader';
import OHIF from '@ohif/core';
Expand Down

0 comments on commit f09ebbe

Please sign in to comment.