diff options
Diffstat (limited to 'DockWidgets/DockWidget.py')
-rw-r--r-- | DockWidgets/DockWidget.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/DockWidgets/DockWidget.py b/DockWidgets/DockWidget.py index 71e9624..bb8ddf5 100644 --- a/DockWidgets/DockWidget.py +++ b/DockWidgets/DockWidget.py @@ -57,7 +57,7 @@ class DockWidget(QDockWidget,ui_dialog): try: print("input_params_list ", self.input_dict) for c,i in enumerate(self.input_dict): - print(i) + #print(i) if i == None: continue l = QLineEdit(str(self.obj.variables[i]['value'])) @@ -77,16 +77,16 @@ class DockWidget(QDockWidget,ui_dialog): def param(self): try: self.dict = {} - print("param.input_dict ", self.input_dict) + #print("param.input_dict ", self.input_dict) for i in self.input_dict: if (self.input_dict[i] == None): continue else: - print(self.input_dict[i], i, self.obj.type) + #print(self.input_dict[i], i, self.obj.type) if (self.input_dict[i].text()): self.dict[i] = self.input_dict[i].text() else: - print(self.input_dict[i].text()) + #print(self.input_dict[i].text()) self.show_error() break @@ -121,19 +121,19 @@ class DockWidget(QDockWidget,ui_dialog): def results_category(self,name): flag = True try: - print("Under result category name ", name) + #print("Under result category name ", name) result=self.container.result obj = self.container.fetch_object(name) self.tableWidget.setRowCount(0) variKeys = list(obj.variables.keys()) - print(variKeys) + #print(variKeys) for i, val in enumerate(variKeys): propertyname = name + '.' + val - print(i,val, propertyname) + #print(i,val, propertyname) if propertyname in result[0]: ind = result[0].index(propertyname) resultval = str(result[-1][ind]) - print("######Resultsfetch####",val,resultval) + #print("######Resultsfetch####",val,resultval) rowPosition = self.tableWidget.rowCount() self.tableWidget.insertRow(rowPosition) self.tableWidget.setItem(rowPosition , 0, QTableWidgetItem(obj.variables[val]['name'])) |