def closeWindowPanes(self):
    closed_panes = False # try to only close panes we created
    if self.window.num_groups() > 1:
      for view in self.window.views():
        if not view.settings().get('_corona_debugger_pane'):
          continue
        closed_panes = True
        group, index = self.window.get_view_index(view)
        if 0 > group:
          debug("Closing: " + view.name())
          self.window.focus_view(view)
          self.window.run_command("close_file")
      if closed_panes:
        # print("saved_layout: " + str(self.saved_layout))
        self.window.run_command("set_layout", {"cells": [[0, 0, 1, 1]], "cols": [0.0, 1.0], "rows": [0.0, 1.0]})
      # Always do this, debugger may have been running in one pane
      self.view.erase_regions("current_line")
dataset/ETHPy150Open coronalabs/CoronaSDK-SublimeText/debugger.py/CoronaDebuggerCommand.closeWindowPanes/swapped operands of `>`