-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
filter.py - Allow tags to be specified using a string containing a 0x-prefix hex number #254
Conversation
…-prefix hex number
I've also updated the documentation, CHANGELOG, and added a new test (with associated recipe file). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great start! We will want to bump the version. Also ping @wetzelj to discuss the tests he thinks would be good to add.
Co-authored-by: Vanessasaurus <[email protected]>
This overall looks great - the formatting is failing because you likely don't have
Specifically this part:
@wetzelj do you think more tests are warranted here, or was this scoped to another follow up PR? |
I've added a test specifically for the new feature, so I guess if you want different tests then maybe they could be in a different issue/pr? |
I haven't had a chance to look at this today and don't expect to be able to circle back to it until Friday, but I would also contend that it's important to test that this new feature didn't unintentionally break existing expected functionality. |
This should be okay. Given that the other tests check the string method, they're already validating existing functionality. Thanks for your work @howff! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @howff !
Signed-off-by: vsoch <[email protected]>
Thank you! https://pypi.org/project/deid/0.3.22/ |
Description
Allow tags to be specified using a string containing a 0x-prefix hex number
Related issues: #253
Converts a field name which is a string in the form '0xGGGGEEEE' (GroupElement) into a number so that it can be found in the dataset dict. This allows recipe rules to specify tags numerically. One use for this is to filter on private tags.
Checklist
Open questions
Questions that require more discussion or to be addressed in future development:
Need to consider the implications of #205 (Finding relocated private elements using "PrivateCreator")