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

Fix/filter exception #257

Closed
wants to merge 43 commits into from
Closed

Conversation

wetzelj
Copy link
Contributor

@wetzelj wetzelj commented Sep 11, 2023

Description

Related issues: #256

Updated filter.py empty() function to explicitly check for the tag content being an instance of a DataElement instead of assuming it's a DataElement if it isn't a string.

Hi @vsoch!

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • My code follows the style guidelines of this project

Open questions

None

… and values from specified tags. Changes inspired by modifications within howardpchen's fork of pydicom/deid.
Added sections describing the usage of the new private tag screening functionality which was added to the replace_identifiers method.
Changed default on screen_values  from [] to None.
…patterns and values from specified tags. Changes inspired by modifications within howardpchen's fork of pydicom/deid."

This reverts commit f839e2f.
@vsoch
Copy link
Member

vsoch commented Sep 11, 2023

hey @wetzelj long time no see! I can definitely squash and merge - but is it maybe the case your master branch isn't in sync with upstream? The commit history is... intense!

@wetzelj
Copy link
Contributor Author

wetzelj commented Sep 11, 2023

It is.... but let me redo it and clean it up. I noticed that was... gross. :)

Hope you're doing well @vsoch! :)

@wetzelj
Copy link
Contributor Author

wetzelj commented Sep 11, 2023

Replacing with a new PR with a clean commit history

@wetzelj wetzelj closed this Sep 11, 2023
@wetzelj
Copy link
Contributor Author

wetzelj commented Sep 11, 2023

Replaced by #258

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

Successfully merging this pull request may close these issues.

2 participants