From 2b27f061229070c02932fd639c8f0ddb551e2c59 Mon Sep 17 00:00:00 2001
From: samuel hanot <smlhnt@gmail.com>
Date: Tue, 20 Feb 2018 10:58:15 +0100
Subject: [PATCH] update

---
 recursive_gmconvert.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recursive_gmconvert.sh b/recursive_gmconvert.sh
index 7a4193f..fc982a5 100755
--- a/recursive_gmconvert.sh
+++ b/recursive_gmconvert.sh
@@ -31,7 +31,6 @@ impdir=~/imp-fast/
 gmconvert=${bindir}/gmconvert/gmconvert
 
 mkdir -p converged
-${gmconvert} -imap ${map_name} -zth ${threshold} -oimap threshold.map -ogmm /dev/null -ng 0
 for ((i=$i0 ; i<=N ; i++))
 do
 	n=$((n_gaussians**i))
@@ -41,6 +40,7 @@ do
 	n_jobs=1
 	if ((i==1))
 	then
+		${gmconvert} -imap ${map_name} -zth ${threshold} -oimap threshold.map -ogmm /dev/null -ng 0
 		echo ${profile_cmd} ${gmconvert} -imap ${map_name} -ogmm $n/${n}_0.gmm -ng ${n_gaussians} -zth ${threshold}
 		echo ${gmconvert}  -igmm $n/${n}_0.gmm -imap ${map_name} -omap /dev/null
 	else
-- 
GitLab