Program: gdcm
Module: $RCSfile: gdcmFile.cxx,v $
Language: C++
- Date: $Date: 2007/10/23 15:52:33 $
- Version: $Revision: 1.341 $
+ Date: $Date: 2009/05/19 15:08:36 $
+ Version: $Revision: 1.344 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
}
else
{
- if( mediastoragesopclassuid == sopclassuid )
+ if ( mediastoragesopclassuid == sopclassuid )
{
sopclassuid_used = mediastoragesopclassuid;
}
return false;
}
}
- // ok we have now the correc SOP Class UID
+ // ok we have now the correct SOP Class UID
if( sopclassuid_used == "Enhanced MR Image Storage" )
{
SeqEntry *PerframeFunctionalGroupsSequence = GetSeqEntry(0x5200,0x9230);
gdcmWarningMacro( "You cannot 'Anonymize' a SeqEntry ");
continue;
}
-
+/*
if ( dynamic_cast<DataEntry *>(d) )
{
gdcmWarningMacro( "To 'Anonymize' a DataEntry, better use AnonymizeNoLoad (FIXME) ");
continue;
}
+*/
else
SetEntryString ((*it).Value, (*it).Group, (*it).Elem);
}
}
catch ( FormatError )
{
- gdcmErrorMacro( "Can not read tag for "
- << " We should have found tag ("
+ gdcmErrorMacro( "Can not read tag at 0x("
+ << std::hex << positionOnEntry
+ << "). We should have found tag ("
<< DictEntry::TranslateToKey(testGroup,testElem) << ")"
) ;