SMI/RdmpDicom

Release Engine does not like the 'Images' directory produced by FoDicomAnonymiser

Opened this issue · 0 comments

Describe the bug

FAILURE: Unexpected directory found in extraction directory c:\temp\out\Extractions\Extr_1046\MR_ImageTable\Images (pollution of extract directory is not permitted)

Unexpected directory found in extraction directory c:\temp\out\Extractions\Extr_1046\MR_ImageTable\Images (pollution of extract directory is not permitted)

Workaround is to move the Image directory to a release location seperately before performing RDMP release

To Reproduce
Steps to reproduce the behavior:

  1. Perform an image extraction
  2. Attempt to release using the main RDMP client Release engine

RDMP.Dicom Plugin Version
6.0.1

RDMP Version
8.0.2

Stack Trace

Unexpected directory found in extraction directory c:\temp\out\Extractions\Extr_1046\MR_ImageTable\Images (pollution of extract directory is not permitted)
   at Rdmp.Core.DataExport.DataRelease.Potential.FlatFileReleasePotential.FilesAreMissing(IExtractionResults extractionResults) in D:\Repos\RDMP\Rdmp.Core\DataExport\DataRelease\Potential\FlatFileReleasePotential.cs:line 72
   at Rdmp.Core.DataExport.DataRelease.Potential.FlatFileReleasePotential.GetSpecificAssessment(IExtractionResults extractionResults) in D:\Repos\RDMP\Rdmp.Core\DataExport\DataRelease\Potential\FlatFileReleasePotential.cs:line 40
   at Rdmp.Core.DataExport.DataRelease.Potential.ReleasePotential.MakeAssesment(ICumulativeExtractionResults extractionResults) in D:\Repos\RDMP\Rdmp.Core\DataExport\DataRelease\Potential\ReleasePotential.cs:line 99
   at Rdmp.Core.DataExport.DataRelease.Potential.ReleasePotential.Check(ICheckNotifier notifier) in D:\Repos\RDMP\Rdmp.Core\DataExport\DataRelease\Potential\ReleasePotential.cs:line 281