Skip to content

Commit 87606ce

Browse files
committed
DOC: Improve usage instrucion
1 parent 8432e23 commit 87606ce

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.gitignore

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
.python-version
2+
.vscode
13
Data
2-
env
34
__pycache__
4-
.vscode
55
build
66
*.egg-info
7-
.python-version
8-
# Ignore Pipfile.lock, since different versions of python and OS produce different hashes
9-
Pipfile.lock
7+
dist
8+
env

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,16 @@ Example 3: Change the tag value with an arbitrary value
142142
python anonymizer.py InputFilePath OutputFilePath -t '(0x0010, 0x0010)' 'replace_with_value' 'new_value'
143143
```
144144

145+
### DICOMDIR
146+
147+
> DICOMDIR anonymization is not specified. It is therefore discouraged and it is recommended to regenerate new DICOMDIR files after anonymizing the original DICOM files.
148+
149+
DICOMDIR files can have a `(0x0004, 0x1220) Directory Record Sequence` tag that can contain patient information.
150+
However, this tag is not part of the standard tag to anonymize set. If you still want dicom-anonymizer to anonymize it, you have to instruct it explicitly:
151+
152+
```python
153+
python anonymizer.py InputFilePath OutputFilePath -t '(0x0004, 0x1220)' replace
154+
```
145155

146156
## Custom rules with dictionary file
147157

0 commit comments

Comments
 (0)