Skip to content

Commit

Permalink
feat: remove code about dcmtk and python
Browse files Browse the repository at this point in the history
  • Loading branch information
Chinlinlee committed Mar 31, 2023
1 parent fa924a9 commit ae5ceac
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 464 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const {
const { DicomFileSaver } = require("./dicom-file-saver");
const { DicomFhirService} = require("./dicom-fhir.service");
const { DicomJpegGenerator } = require("./dicom-jpeg-generator");
const { logger, pythonLogger, fhirLogger } = require("../../../../../utils/log");
const { logger } = require("../../../../../utils/log");

const { raccoonConfig } = require("../../../../../config-class");

Expand Down
12 changes: 0 additions & 12 deletions config-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,12 @@ class FhirConfig {
}
}

class Dcm2JpegConfig {
constructor() {
this.enable = env.get("USE_DCM2JPEG_PYTHONAPI").default("true").asBool();
this.apiHost = env.get("DCM2JPEG_PYTHONAPI_HOST").default("127.0.0.1").asString();
this.apiPort = env.get("DCM2JPEG_PYTHONAPI_PORT").default("5000").asInt();

this.useConda = env.get("USE_CONDA").default("false").asBool();
this.condaPath = env.get("CONDA_PATH").default("~/anaconda3/Scripts/conda.exe").asString();
this.condaGdcmEnvName = env.get("CONDA_GDCM_ENV_NAME").default("gdcm").asString();
}
}

class RaccoonConfig {
constructor() {
this.mongoDbConfig = new MongoDbConfig();
this.serverConfig = new ServerConfig();
this.dicomWebConfig = new DicomWebConfig();
this.dcm2JpegConfig = new Dcm2JpegConfig();
this.fhirConfig = new FhirConfig();
}
}
Expand Down
7 changes: 0 additions & 7 deletions config/log4js.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@
"level": "DEBUG",
"enableCallStack": true
},
"raccoon-polka-python": {
"appenders": [
"console"
],
"level": "DEBUG",
"enableCallStack": true
},
"api": {
"appenders": [
"api"
Expand Down
75 changes: 0 additions & 75 deletions models/DICOM/dicom-to-jpeg-command.js

This file was deleted.

30 changes: 0 additions & 30 deletions python/DICOM2JPEGAPI.py

This file was deleted.

116 changes: 0 additions & 116 deletions python/DICOM2JPEGFrame.py

This file was deleted.

110 changes: 0 additions & 110 deletions python/index.js

This file was deleted.

Loading

0 comments on commit ae5ceac

Please sign in to comment.