def __str__(self):
        if self.corner1 is not None:
            if self.corner2 is not None:
                return self.corner1.__str__() + ':' + self.corner2.__str__()
            else:
                return self.corner1.__str__() + ':None'
        else:
            if self.corner2 is not None:
                return 'None:' + self.corner2.__str__()
            else:
                return 'None:None'
Override __str__ to print meaningful string representation
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/generators/utils.py/BSPSection.__str__