Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --do_not_clean option to ONLY do the --force_replace and --exclude_series_descs actions #30

Open
r3m0chop opened this issue Nov 8, 2019 · 0 comments

Comments

@r3m0chop
Copy link
Collaborator

r3m0chop commented Nov 8, 2019

Add option of:

    parser.add_argument('-d', '--do_not_clean', action='store_true', default=False, help='Do NOT apply general tag value cleaning;'
                                                                                   'instead only do any specified --force_replace & --exclude_series_descs')

to bypass the normal DICOM tag value cleaning de-identification operations for which dicom_anon was primarily written.

To be used when --force_replace and --exclude_series_descs are needed, but the de-identification is being performed elsewhere (e.g., in GCP's Healthcare API) and any other pre-de-identification is for whatever reason undesired. Allows the dicom_anon framework to still be fully leveraged for these two new --force_replace and --exclude_series_descs options without creating an entirely new tool.

r3m0chop added a commit that referenced this issue Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant