InnerEye-Gateway
InnerEye-Gateway copied to clipboard
`GenerateAndTestDeAnonymisedStructureSetFile` Unit Test Failing
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.