X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmFile.cxx;h=25831770ad62730f51fdce21eb33cbe0bb920647;hb=80075429b6ab9db9e885b9bb9ae1427530c7bef8;hp=d70964b18988dff5dc9e6285e183fad925aeb490;hpb=3f5881f0fd79a5edd8270d33cc92a24c706c1140;p=gdcm.git diff --git a/src/gdcmFile.cxx b/src/gdcmFile.cxx index d70964b1..25831770 100644 --- a/src/gdcmFile.cxx +++ b/src/gdcmFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFile.cxx,v $ Language: C++ - Date: $Date: 2007/11/21 16:25:26 $ - Version: $Revision: 1.342 $ + 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 @@ -491,7 +491,7 @@ bool File::GetSpacing(float &xspacing, float &yspacing, float &zspacing) } else { - if( mediastoragesopclassuid == sopclassuid ) + if ( mediastoragesopclassuid == sopclassuid ) { sopclassuid_used = mediastoragesopclassuid; } @@ -502,7 +502,7 @@ bool File::GetSpacing(float &xspacing, float &yspacing, float &zspacing) 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); @@ -2239,8 +2239,9 @@ bool File::ReadTag(uint16_t testGroup, uint16_t testElem) } 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) << ")" ) ;