From c856ec623eeba04e43049e4baca24294eebd5823 Mon Sep 17 00:00:00 2001 From: jpr Date: Wed, 26 Oct 2005 11:19:14 +0000 Subject: [PATCH] Fix SplitOnPosition() --- src/gdcmSerieHelper.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gdcmSerieHelper.cxx b/src/gdcmSerieHelper.cxx index 06ffc2db..f8bff832 100644 --- a/src/gdcmSerieHelper.cxx +++ b/src/gdcmSerieHelper.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSerieHelper.cxx,v $ Language: C++ - Date: $Date: 2005/10/26 06:23:37 $ - Version: $Revision: 1.31 $ + Date: $Date: 2005/10/26 11:19:14 $ + Version: $Revision: 1.32 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -497,7 +497,8 @@ XCoherentFileSetmap SerieHelper::SplitOnPosition(FileList *fileSet) ossPosition << pos[i]; } strPosition = ossPosition.str(); - + ossPosition.str(""); + if ( CoherentFileSet.count(strPosition) == 0 ) { gdcmDebugMacro(" New Position :[" << strPosition << "]"); -- 2.48.1