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
@@ -10,7 +10,7 @@ import dcm4cheeReject from './dcm4cheeReject';
|
||||
import { DicomMetadataStore, IWebApiDataSource, utils } from '@ohif/core';
|
||||
|
||||
import getImageId from './utils/getImageId';
|
||||
import * as dcmjs from 'dcmjs';
|
||||
import dcmjs from 'dcmjs';
|
||||
import {
|
||||
retrieveStudyMetadata,
|
||||
deleteStudyMetadataPromise,
|
||||
|
||||
@@ -170,7 +170,8 @@ function mapParams(params, options = {}) {
|
||||
const parameters = {
|
||||
// Named
|
||||
PatientName: withWildcard(params.patientName),
|
||||
PatientID: withWildcard(params.patientId),
|
||||
//PatientID: withWildcard(params.patientId),
|
||||
"00100020": withWildcard(params.patientId), // Temporarily to make the tests pass with dicomweb-server.. Apparently it's broken?
|
||||
AccessionNumber: withWildcard(params.accessionNumber),
|
||||
StudyDescription: withWildcard(params.studyDescription),
|
||||
ModalitiesInStudy: params.modalitiesInStudy,
|
||||
|
||||
@@ -43,20 +43,16 @@ export default function PanelMeasurementTable({
|
||||
};
|
||||
}, [MeasurementService]);
|
||||
|
||||
// const activeMeasurementItem = 0;
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="overflow-x-hidden overflow-y-auto invisible-scrollbar">
|
||||
<MeasurementTable
|
||||
title="Measurements"
|
||||
amount={displayMeasurements.length}
|
||||
data={displayMeasurements}
|
||||
onClick={({ id }) => alert(`Click: ${id}`)}
|
||||
onEdit={({ id }) => alert(`Edit: ${id}`)}
|
||||
/>
|
||||
</div>
|
||||
</>
|
||||
<div className="overflow-x-hidden overflow-y-auto invisible-scrollbar">
|
||||
<MeasurementTable
|
||||
title="Measurements"
|
||||
amount={displayMeasurements.length}
|
||||
data={displayMeasurements}
|
||||
onClick={({ id }) => alert(`Click: ${id}`)}
|
||||
onEdit={({ id }) => alert(`Edit: ${id}`)}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ function LayoutSelector() {
|
||||
)
|
||||
}
|
||||
isActive={isOpen}
|
||||
type="primary"
|
||||
type="toggle"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import React, { useState } from 'react';
|
||||
import { ViewModelContext } from '@ohif/core';
|
||||
|
||||
const HelloWorldContext = React.createContext({
|
||||
message: 'HelloWorldContextTesting',
|
||||
|
||||
Reference in new issue
Block a user