From 900d2f7bf28758199f96579e903a8c38c64e5b74 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Wed, 23 Mar 2016 11:05:36 +0100 Subject: [PATCH] output follows damask.croak syntax --- processing/pre/seeds_fromDistribution.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processing/pre/seeds_fromDistribution.py b/processing/pre/seeds_fromDistribution.py index dd813e334..5d443a7f9 100755 --- a/processing/pre/seeds_fromDistribution.py +++ b/processing/pre/seeds_fromDistribution.py @@ -135,8 +135,8 @@ class myThread (threading.Thread): bestSeedsUpdate = time.time() # save time of better fit damask.util.croak('Thread %i: Better match (%i bins, %6.4f --> %6.4f)' %(self.threadID,i+1,target[i]['error'],currentError[i])) - damask.util.croak(' target: ',target[i]['histogram']) - damask.util.croak(' best: ',currentHist[i]) + damask.util.croak(' target: %s'%np.array_str(target[i]['histogram'])) + damask.util.croak(' best: %s'%np.array_str(currentHist[i])) currentSeedsName = baseFile+'_'+str(bestSeedsUpdate).replace('.','-') # name of new seed file (use time as unique identifier) perturbedSeedsVFile.reset() bestSeedsVFile.close()