From: tbaudier Date: Thu, 20 Dec 2018 12:53:01 +0000 (+0100) Subject: Add condition into clitkDicom2Image X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=fcbb252eca534687630734b6b0c8b13c799ff282;p=clitk.git 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 ./ --- 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