From 91a4b489479825aa95885d0b5cb6b787728e59b0 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Fri, 3 Feb 2023 23:05:37 +0100 Subject: [PATCH] log number of steps as well Signed-off-by: Csaba Kiraly --- study.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/study.py b/study.py index 68663b8..25e8735 100644 --- a/study.py +++ b/study.py @@ -37,7 +37,7 @@ def study(): sim.initValidators() sim.initNetwork() result = sim.run() - sim.logger.info("Shape: %s ... Block Available: %d" % (str(sim.shape.__dict__), result.blockAvailable), extra=sim.format) + sim.logger.info("Shape: %s ... Block Available: %d in %d steps" % (str(sim.shape.__dict__), result.blockAvailable, len(result.missingVector)), extra=sim.format) results.append(copy.deepcopy(result)) simCnt += 1