From fcbb252eca534687630734b6b0c8b13c799ff282 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Thu, 20 Dec 2018 13:53:01 +0100 Subject: [PATCH] Add condition into clitkDicom2Image The name return by GDCMSeriesFileNames starts by ./ if it is in the current folder or not if not. And the filenames never stat by ./ So I need to remove ./ only if it starts with ./ --- tools/clitkDicom2Image.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/clitkDicom2Image.cxx b/tools/clitkDicom2Image.cxx index e6e2396..54ab6bd 100644 --- a/tools/clitkDicom2Image.cxx +++ b/tools/clitkDicom2Image.cxx @@ -168,7 +168,7 @@ int main(int argc, char * argv[]) while (sliceIndex.size()==i && j