Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

GenerateAndTestDeAnonymisedStructureSetFile Unit Test Failing #83

Open
peterhessey opened this issue Jun 14, 2022 · 0 comments
Open

GenerateAndTestDeAnonymisedStructureSetFile Unit Test Failing #83

peterhessey opened this issue Jun 14, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@peterhessey
Copy link
Contributor

After following the set up steps and attempting to run the tests, all of them pass except the GenerateAndTestDeAnonymisedStructureSetFile test, failing with the following output:

  Message: 
Assert.IsFalse failed. 

  Stack Trace: 
DicomAnonymisationTests.VerifyDicomFile(String path) line 293

This is caused by the dicom3tools dciodvfy.exe executable raising an error when verifying the DICOM file after it is sent and de-anonymised. The error in standardError is the following:

ERROR - MISSING ATTRIBUTE TYPE 1 REQUIRED ELEMENT=<FRAMEOFREFERENCEUID> MODULE=<FRAMEOFREFERENCE>
ERROR - MISSING ATTRIBUTE TYPE 2 REQUIRED ELEMENT=<POSITIONREFERENCEINDICATOR> MODULE=<FRAMEOFREFERENCE>

The first attribute, FRAMEOFREFERENCEUID, is present in the test data before it is sent via DCMTK. POSITIONREFERENCEINDICATOR is not. Both are missing (according to dicom3tools) after the data is sent via DCMTK.

@peterhessey peterhessey added the bug Something isn't working label Jun 14, 2022
@peterhessey peterhessey self-assigned this Jun 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant