output follows damask.croak syntax
This commit is contained in:
parent
143a868dad
commit
900d2f7bf2
|
@ -135,8 +135,8 @@ class myThread (threading.Thread):
|
||||||
bestSeedsUpdate = time.time() # save time of better fit
|
bestSeedsUpdate = time.time() # save time of better fit
|
||||||
damask.util.croak('Thread %i: Better match (%i bins, %6.4f --> %6.4f)'
|
damask.util.croak('Thread %i: Better match (%i bins, %6.4f --> %6.4f)'
|
||||||
%(self.threadID,i+1,target[i]['error'],currentError[i]))
|
%(self.threadID,i+1,target[i]['error'],currentError[i]))
|
||||||
damask.util.croak(' target: ',target[i]['histogram'])
|
damask.util.croak(' target: %s'%np.array_str(target[i]['histogram']))
|
||||||
damask.util.croak(' best: ',currentHist[i])
|
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)
|
currentSeedsName = baseFile+'_'+str(bestSeedsUpdate).replace('.','-') # name of new seed file (use time as unique identifier)
|
||||||
perturbedSeedsVFile.reset()
|
perturbedSeedsVFile.reset()
|
||||||
bestSeedsVFile.close()
|
bestSeedsVFile.close()
|
||||||
|
|
Loading…
Reference in New Issue