mirror of
https://github.com/codex-storage/das-research.git
synced 2025-02-23 08:18:14 +00:00
Merge branch 'maliciousNode' into develop
# Conflicts: # DAS/shape.py
This commit is contained in:
commit
4a015538af
@ -28,7 +28,7 @@ class Shape:
|
|||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
"""Returns a printable representation of the shape"""
|
"""Returns a printable representation of the shape"""
|
||||||
shastr = ""
|
shastr = ""
|
||||||
shastr += "-bsrn-"+str(self.nbCols)
|
shastr += "bsrn-"+str(self.nbCols)
|
||||||
shastr += "-bsrk-"+str(self.nbColsK)
|
shastr += "-bsrk-"+str(self.nbColsK)
|
||||||
shastr += "-bscn-"+str(self.nbRows)
|
shastr += "-bscn-"+str(self.nbRows)
|
||||||
shastr += "-bsck-"+str(self.nbRowsK)
|
shastr += "-bsck-"+str(self.nbRowsK)
|
||||||
|
@ -63,7 +63,7 @@ class Visualizor:
|
|||||||
def __get_attrbs__(self, result):
|
def __get_attrbs__(self, result):
|
||||||
text = str(result.shape).split("-")
|
text = str(result.shape).split("-")
|
||||||
d = dict()
|
d = dict()
|
||||||
for i in range(1, len(text), 2):
|
for i in range(0, len(text), 2):
|
||||||
d[text[i]] = text[i + 1]
|
d[text[i]] = text[i + 1]
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user