diff --git a/cuegui/cuegui/CueJobMonitorTree.py b/cuegui/cuegui/CueJobMonitorTree.py index 7c4ce1be6..5c64ccad1 100644 --- a/cuegui/cuegui/CueJobMonitorTree.py +++ b/cuegui/cuegui/CueJobMonitorTree.py @@ -190,17 +190,17 @@ def __init__(self, parent): data=lambda group: group.data.stats.waiting_frames) self.addColumn("", 0, id=8) self.addColumn("", 0, id=9) - self.addColumn("", 0, id=10, - data=lambda group: (group.data.min_cores or "")) + self.addColumn("", 0, id=10) self.addColumn("", 0, id=11, + data=lambda group: (group.data.min_cores or "")) + self.addColumn("", 0, id=12, data=lambda group: ( group.data.max_cores > 0 and group.data.max_cores or "")) - self.addColumn("", 0, id=12, - data=lambda group: (group.data.min_gpus or "")) self.addColumn("", 0, id=13, + data=lambda group: (group.data.min_gpus or "")) + self.addColumn("", 0, id=14, data=lambda group: ( group.data.max_gpus > 0 and group.data.max_gpus or "")) - self.addColumn("", 0, id=14) self.addColumn("", 0, id=15) self.addColumn("", 0, id=16) self.addColumn("", 0, id=17)