[Dcmlib] [Fwd: CREATIS CVS: gdcm jpr] warnings while running TestAllReadCompareDicom -> Fixed

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Jul 6 16:20:42 CEST 2005


Jean-Pierre Roux wrote:
> Mathieu Malaterre wrote:
> 
>> JP,
>>
>>     Could you further detail on your comment ? What exactly do you 
>> mean by:
>>        gdcmWarningMacro("in ParseDES : shouldn't get here !");
>>
> Well ...
> I meant that we shouldn't get here ;-)
> TestAllReadCompareDicom parses twice a gdcm::Document (not very fair, imo)
> The 2-d time, *all* the Entries are found duplicated.
> Now Document::Load() clears out all the entries if a Document was 
> already parsed, to avoid further problem.
> I detailled the warning message, and display the duplicate entry tags, 
> if any.


I still don't see why we parse 2 times the same DICOM file ? Why can't 
we simply reuse the tags the 2nd times ?

Thanks
Mathieu



More information about the Dcmlib mailing list