From e0a73728ad5e0eade85910e8fb5f97992ba22ee2 Mon Sep 17 00:00:00 2001 From: Erik O Gabrielsson Date: Sat, 3 Feb 2024 19:48:08 +0100 Subject: [PATCH] Ignore error in DICOM 2024a --- tests/test_convert.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_convert.py b/tests/test_convert.py index 2ef6658..13cb74f 100644 --- a/tests/test_convert.py +++ b/tests/test_convert.py @@ -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") @@ -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)