[Dcmlib] [Fwd: CREATIS CVS: gdcm jpr] warnings while running TestAllReadCompareDicom -> Fixed
Jean-Pierre Roux
jpr at creatis.insa-lyon.fr
Wed Jul 6 11:47:43 CEST 2005
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.
JP
>
> If I modify TestAllReadCompareDicom to turn DebugOn
> (gdcm::Debug::DebugOn). I gets tons of those message: ParseDES :
> shouldn't get here !
>
> Test was:
> ./bin/gdcmTests TestAllReadCompareDicom ../gdcmData/D_CLUNIE_CT1_J2KR.dcm
> ../gdcmData/BaselineDicom/D_CLUNIE_CT1_J2KR.dcm
>
> Looks scary...
> Mathieu
>
More information about the Dcmlib
mailing list