From 04b43b67d16a3569100d3df2f6ccc41cadf24ea9 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Mon, 4 Mar 2024 16:40:18 +0100 Subject: [PATCH] fixup results file name Signed-off-by: Csaba Kiraly --- DAS/shape.py | 2 +- DAS/visualizor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DAS/shape.py b/DAS/shape.py index 1047988..bff6485 100644 --- a/DAS/shape.py +++ b/DAS/shape.py @@ -28,7 +28,7 @@ class Shape: def __repr__(self): """Returns a printable representation of the shape""" shastr = "" - shastr += "-bsrn-"+str(self.blockSizeR) + shastr += "bsrn-"+str(self.blockSizeR) shastr += "-bsrk-"+str(self.blockSizeRK) shastr += "-bscn-"+str(self.blockSizeC) shastr += "-bsck-"+str(self.blockSizeCK) diff --git a/DAS/visualizor.py b/DAS/visualizor.py index b57cfd7..db56dfb 100644 --- a/DAS/visualizor.py +++ b/DAS/visualizor.py @@ -63,7 +63,7 @@ class Visualizor: def __get_attrbs__(self, result): text = str(result.shape).split("-") d = dict() - for i in range(1, len(text), 2): + for i in range(0, len(text), 2): d[text[i]] = text[i + 1] return d