fixup results file name

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
Csaba Kiraly 2024-03-04 16:40:18 +01:00
parent 2add749fb5
commit 04b43b67d1
No known key found for this signature in database
GPG Key ID: 0FE274EE8C95166E
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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