pydicom / deid

best effort anonymization for medical images using python
https://pydicom.github.io/deid/
MIT License
138 stars 43 forks source link

Update docstrings formatting refactor #255

Open bushjam1 opened 1 year ago

bushjam1 commented 1 year ago

Description

This PR submits several minor formatting and docstring changes and one change to the logic of a function using multiple conditionals to use a dictionary instead. No changes are part of a current issue.

Related issues: # (issue)

None

Please include a summary of the change(s) and if relevant, any related issues above.

There are changes to several docstrings in the file (tags.py) to add parameters, formatting to reduce line lengths >100 chars, and one change to the function apply_filter() in filter.py to use dict map instead of conditionals.

Checklist

Open questions

Questions that require more discussion or to be addressed in future development:

None. Thanks for reviewing!