Modified mass_deidentify.py to specify which xml file with header to erase should be used for deidentification #107
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
When running DICAT for the context of open science, additional DICOM fields needed to be erase (fields containing acquisition dates for example). Therefore, DICAT has been modified so that an XML file path can be provided to
mass_deidentify.py
with a stricter list of fields to erase from the DICOM header.A different XML file has been provided
dicat/data/fields_to_zap_for_open_science.xml
with a stricter list of DICOM header to remove from the DICOMs than the original XML provided with DICAT.This resolves