Skip to content

Commit 14d1e4e

Browse files
authored
update: pydicom v3 (#273)
Signed-off-by: vsoch <[email protected]> Co-authored-by: vsoch <[email protected]>
1 parent 830966d commit 14d1e4e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+227
-356
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
formatting:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: Setup black environment
1717
run: conda create --quiet --name black black
@@ -26,14 +26,13 @@ jobs:
2626
testing:
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030

3131
- name: Setup conda environment
3232
run: |
3333
conda create --quiet --name testing
3434
export PATH="/usr/share/miniconda/bin:$PATH"
3535
source activate testing
36-
pip install matplotlib
3736
pip install .
3837
3938
- name: Test deid

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and **Merged pull requests**. Critical items to know are:
1414
Referenced versions in headers are tagged on Github, in parentheses are for pypi.
1515

1616
## [vxx](https://github.com/pydicom/deid/tree/master) (master)
17+
- Update to use pydicom 3 [#267](https://github.com/pydicom/deid/pull/267) (0.4.0)
1718
- Refactor INCLUDE_REQUIRES and provide max pydicom version [#267](https://github.com/pydicom/deid/pull/267) (0.3.25)
1819
- Support pydicom.Dataset objects created from BytesIO [#265](https://github.com/pydicom/deid/pull/265) (0.3.24)
1920
- Exception with missing filters for non-string VR [#256](https://github.com/pydicom/deid/issues/256) (0.3.23)

deid/config/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2016-2023, Vanessa Sochat"
2+
__copyright__ = "Copyright 2016-2025, Vanessa Sochat"
33
__license__ = "MIT"
44

55
from deid.config.standards import actions, formats, sections

deid/config/standards.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2016-2023, Vanessa Sochat"
2+
__copyright__ = "Copyright 2016-2025, Vanessa Sochat"
33
__license__ = "MIT"
44

55
# Supported formats

deid/config/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2016-2023, Vanessa Sochat"
2+
__copyright__ = "Copyright 2016-2025, Vanessa Sochat"
33
__license__ = "MIT"
44

55
# pylint: skip-file

deid/data/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2016-2023, Vanessa Sochat"
2+
__copyright__ = "Copyright 2016-2025, Vanessa Sochat"
33
__license__ = "MIT"
44

55
import os

deid/dicom/actions/jitter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2016-2023, Vanessa Sochat"
2+
__copyright__ = "Copyright 2016-2025, Vanessa Sochat"
33
__license__ = "MIT"
44

55
from deid.logger import bot

deid/dicom/actions/uids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2016-2023, Vanessa Sochat"
2+
__copyright__ = "Copyright 2016-2025, Vanessa Sochat"
33
__license__ = "MIT"
44

55
import uuid

deid/dicom/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2016-2023, Vanessa Sochat"
2+
__copyright__ = "Copyright 2016-2025, Vanessa Sochat"
33
__license__ = "MIT"
44

55
import re

deid/dicom/filter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2016-2023, Vanessa Sochat"
2+
__copyright__ = "Copyright 2016-2025, Vanessa Sochat"
33
__license__ = "MIT"
44

55
import re
@@ -23,7 +23,7 @@ def apply_filter(dicom, field, filter_name, value):
2323
2424
Parameters
2525
==========
26-
dicom: the pydicom.dataset Dataset (pydicom.read_file)
26+
dicom: the pydicom.dataset Dataset
2727
field: the name of the field to apply the filter to,
2828
or the tag number as a string '0xGGGGEEEE'
2929
filer_name: the name of the filter to apply (e.g., contains)

0 commit comments

Comments
 (0)