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

[pre-commit.ci] pre-commit autoupdate #89

Merged
merged 2 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_language_version:

repos:
- repo: https://github.com/crate-ci/typos
rev: v1.19.0
rev: v1.20.4
hooks:
- id: typos
exclude: _*.xml
Expand All @@ -13,7 +13,7 @@ repos:
- id: black
args: [ --safe, --quiet ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -23,7 +23,7 @@ repos:
- id: debug-statements
language_version: python3
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.4
rev: v0.3.5
hooks:
- id: ruff
args: [dicom_validator, --fix, --exit-non-zero-on-fix]
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ c:\dev\DICOM Data\SR\image12.dcm
(0008,0050) Accession Number SH 1 [ACN000001]
(0008,0060) Modality CS 1 [US]
(0008,0070) Manufacturer LO 1 [Acuson]
(0008,0090) Referring Physician's Name PN 1 []
(0008,0090) Referring Physician's Name ON 1 []
(0008,1010) Station Name SH 1 [QV-00775]
(0008,1030) Study Description LO 1 [ABDOMEN]
(0008,1050) Performing Physician's Name PN 1 [DOE,JOHN]
(0008,1060) Name of Physician(s) Reading Study PN 1 []
(0008,1070) Operators' Name PN 1 [DO]
(0008,1050) Performing Physician's Name ON 1 [DOE,JOHN]
(0008,1060) Name of Physician(s) Reading Study ON 1 []
(0008,1070) Operators' Name ON 1 [DO]
(0008,1080) Admitting Diagnoses Description LO 1 [RSNA'95 Data Not Delete]
(0009,0010) [Unknown] LO 1 [AEGIS_DICOM_2.00]
...
Expand All @@ -182,6 +182,6 @@ If you want to show only specific tags, you can use the option `--show-tags`:
(py3_test) c:\dev\GitHub\dicom-validator>dump_dcm_info "c:\dev\DICOM Data\SR\image12.dcm" --show-tags 0010,0010 PatientID

c:\dev\DICOM Data\SR\image12.dcm
(0010,0010) Patient's Name PN 1 [DOE^JANE]
(0010,0010) Patient's Name ON 1 [DOE^JANE]
(0010,0020) Patient ID LO 1 [ACN000001]
```
2 changes: 1 addition & 1 deletion dicom_validator/spec_reader/part6_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def data_element(self, tag_id):
as key.
The values of the returned dict are dicts with the following entries:
'name': The human-readable tag name
'vr': The tag value representation (e.g. 'PN')
'vr': The tag value representation (e.g. 'ON')
'vm': The tag multiplicity (e.g. '1-N')
'prop': Additional properties, like 'RET' for retired
"""
Expand Down
Loading