

def removeTaskPanel(self, taskPanelName):
    names = self.getTaskPanelNames()
    assert (taskPanelName in names)
    self.widget.removeTab(taskPanelName.index(taskPanelName))

dataset/ETHPy150Open RobotLocomotion/director/src/python/director/tasklaunchpanel.py TaskLaunchPanel.removeTaskPanel/VarMisuse@33/46 `names`->`taskPanelName`