From 1e675f97cf4342a73a1ff82a9529baf34ac67e21 Mon Sep 17 00:00:00 2001 From: sjswerdloff Date: Sun, 18 Aug 2024 00:15:20 +1200 Subject: [PATCH] remove unused imports (#72) --- .vscode/settings.json | 1 + fix_dicom_file_header.py | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 4c70956..10d9b97 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -64,6 +64,7 @@ "sobp", "storescp", "storescu", + "stuartswerdloff", "treatmentmachine", "treatmentsessionionbeam", "tsyntax", diff --git a/fix_dicom_file_header.py b/fix_dicom_file_header.py index 8aedd99..69d6f52 100755 --- a/fix_dicom_file_header.py +++ b/fix_dicom_file_header.py @@ -4,10 +4,7 @@ """ import sys -import pydicom -from pydicom import dataset, dcmread -from pydicom.dataelem import DataElement -from pydicom.tag import Tag +from pydicom import dcmread if len(sys.argv) < 3: print(f"{sys.argv[0]} input_file_path output_file_path")