Skip to content

Commit

Permalink
Corrected conflicting fixes between pydicom#178 and pydicom#180/pydic…
Browse files Browse the repository at this point in the history
  • Loading branch information
wetzelj committed Jul 7, 2021
1 parent 0f53f9b commit a2892b3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions deid/dicom/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,14 +426,6 @@ def _run_action(self, field, action, value=None):
item=self.lookup, dicom=self.dicom, value=value, field=field
)
if value is not None:

# Cut out early if the field isn't in the dicom
if field.name not in self.dicom:
return

# Preserve the old value in case we need to update
old_value = self.dicom[field.name].value

# Jitter the field by the supplied value
new_val = jitter_timestamp(field=field, value=value)
self.replace_field(field, new_val)
Expand Down

0 comments on commit a2892b3

Please sign in to comment.