From ad24565658c6ecaee9d09473ec60280c912815e9 Mon Sep 17 00:00:00 2001 From: malaterre Date: Fri, 14 Jan 2005 21:34:53 +0000 Subject: [PATCH] STYLE: adding a comment on why we can use Serie Instance UID all the time (even with old NEMA) --- src/gdcmSerieHeader.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gdcmSerieHeader.cxx b/src/gdcmSerieHeader.cxx index 2c61c933..64fffb41 100644 --- a/src/gdcmSerieHeader.cxx +++ b/src/gdcmSerieHeader.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSerieHeader.cxx,v $ Language: C++ - Date: $Date: 2005/01/14 21:30:53 $ - Version: $Revision: 1.7 $ + Date: $Date: 2005/01/14 21:34:53 $ + Version: $Revision: 1.8 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -66,6 +66,8 @@ void SerieHeader::AddFileName(std::string const &filename) { // 0020 000e UI REL Series Instance UID std::string uid = header->GetEntry (0x0020, 0x000e); + // if uid == GDCM_UNFOUND then consistenly we should find GDCM_UNFOUND + // no need here to do anything special if( CurrentSerieUID == "" ) { // Set the current one -- 2.45.1