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

Update tests for pydicom 2.3 #122

Merged
merged 4 commits into from
Apr 5, 2022
Merged

Update tests for pydicom 2.3 #122

merged 4 commits into from
Apr 5, 2022

Conversation

blairconrad
Copy link
Owner

No description provided.

As of pydicom 2.3.0 values are more rigorously tested for validity.
The following problems were observed:

* some PatientBirthTime attributes had illegal colons in them
* some SHs were too long
Prior to pydicom 2.3.0, assigning a single-element list value
would keep the value as a list. As of 2.3.0, the value is stored
as the single value. pydicom/pydicom#1606
Prior to pydicom 2.3.0, assigning a single-element list value
would keep the value as a list. As of 2.3.0, the value is stored
as the single value. pydicom/pydicom#1606
YYYY and YYYYMM were never valid, but we were testing them anyhow.
pydicom 2.3 started validating value lengths, so these tests were
throwing errors unrelated to dicognito's functionality.
@blairconrad blairconrad merged commit 9472bf6 into main Apr 5, 2022
@blairconrad blairconrad deleted the pydicom-2.3 branch April 5, 2022 17:39
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.

1 participant