@staticmethod
    def strip_layout(layout_str):
        return '\n'.join([line.strip() for line in layout_str.split('\n')]).strip()
Remove leading and trailing whitespace from a string encoded layout.
dataset/ETHPy150Open ASPP/pelita/pelita/layout.py/Layout.strip_layout