We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad0322c commit de5715bCopy full SHA for de5715b
utils/dicom_converter/README.md
@@ -11,5 +11,11 @@ DICOM files with series (multi-frame) are saved under the same name with a numbe
11
python3 -m venv .env
12
. .env/bin/activate
13
pip install -r requirements.txt
14
-python3 script.py input_data output_data
+```
15
+
16
+# Running
17
18
19
+. .env/bin/activate # if not activated
20
+python script.py input_data output_data
21
```
utils/dicom_converter/script.py
@@ -80,7 +80,6 @@ def main(root_dir, output_root_dir):
80
pbar = tqdm(dicom_files)
81
for input_filename in pbar:
82
pbar.set_description('Conversion: ' + input_filename)
83
- input_subpath = input_filename.split(os.sep)[1:-1]
84
input_basename = os.path.basename(input_filename)
85
86
output_subpath = os.path.relpath(os.path.dirname(input_filename), root_dir)
0 commit comments