Skip to content

Commit

Permalink
Ignore error in DICOM 2024a
Browse files Browse the repository at this point in the history
  • Loading branch information
erikogabrielsson committed Feb 3, 2024
1 parent 3283ca1 commit e0a7372
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def validator(
):
standard_path = os.path.join(testdata_dir, "dicom-validator")
edition_reader = EditionReader(standard_path)
edition_reader.get_editions()
revision_path = edition_reader.get_revision("current")
assert isinstance(revision_path, Path)
json_path = revision_path.joinpath("json")
Expand Down Expand Up @@ -88,7 +89,9 @@ def test_validate(
"(0040,073A)",
"(0048,021E)",
"(0048,021F)",
]
],
# Validator flags Series Number as unexpected due to error in DICOM 2024a
"Root": ["(0020,0011)"],
}
for module, module_errors in module_errors_to_ignore.items():
errors = errors_per_module.get(module, None)
Expand Down

0 comments on commit e0a7372

Please sign in to comment.