From 9fbb245d2a0963c8ae1f1bf2b8bc10775d638dca Mon Sep 17 00:00:00 2001 From: lmdulz Date: Fri, 14 Jul 2023 13:00:14 +0200 Subject: [PATCH] delete two unecessary files --- src/anonymizerFunctions.ts | 15 --------------- src/deletion.ts | 19 ------------------- 2 files changed, 34 deletions(-) delete mode 100644 src/anonymizerFunctions.ts delete mode 100644 src/deletion.ts diff --git a/src/anonymizerFunctions.ts b/src/anonymizerFunctions.ts deleted file mode 100644 index e5df06b..0000000 --- a/src/anonymizerFunctions.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Randomizer } from './randomizer'; -import {DicomDict, DicomMessage, Tag, DicomMetaDictionary} from 'dcmjs'; - - -function fixedValueAnonymizer(currentValue: string, newValue: string) { - - -} - -function unwantedElementStripper(tag: string) { - const currTag = new Tag(tag); - if (currTag.isPrivateCreator()){ - - } -} \ No newline at end of file diff --git a/src/deletion.ts b/src/deletion.ts deleted file mode 100644 index 0676f4b..0000000 --- a/src/deletion.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* - -const chars = { '(': '', ')': '', ',': '' }; -for (key in data) { - let newKey = key.replace(/[(),]/g, m => chars[m]); - if (newKey in DicomDict.dict) { - - const name = data[key].Name; - const chng = data[key].BasicProf; - const msg = `${name}, which is ${data[key].VR}, has to be changed like: ${chng}`; - console.log(msg); - if (data[key].BasicProf.includes('X')) { - console.log(DicomDict.dict[newKey]); - delete DicomDict.dict[newKey]; - console.log(DicomDict.dict[newKey]); - } - } -} -*/ \ No newline at end of file