@@ -803,8 +803,8 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||||
803 | self.volOpCode.setEnabled(False) |
|
803 | self.volOpCode.setEnabled(False) | |
804 |
|
804 | |||
805 | if index == 0: |
|
805 | if index == 0: | |
806 | code = '' |
|
806 | # code = '' | |
807 | self.volOpCode.setText(str(code)) |
|
807 | # self.volOpCode.setText(str(code)) | |
808 | return |
|
808 | return | |
809 |
|
809 | |||
810 | if index == 1: |
|
810 | if index == 1: | |
@@ -1059,15 +1059,18 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||||
1059 |
|
1059 | |||
1060 | opObj = puObj.addOperation(name=name_operation, optype=optype) |
|
1060 | opObj = puObj.addOperation(name=name_operation, optype=optype) | |
1061 |
|
1061 | |||
1062 | name_parameter = 'channelList' |
|
|||
1063 | format = 'intlist' |
|
|||
1064 | value = str(self.volOpFlip.text()) |
|
1062 | value = str(self.volOpFlip.text()) | |
1065 |
|
1063 | |||
1066 |
if |
|
1064 | if value: | |
1067 | self.console.append("Invalid value '%s' for '%s'" %(value,name_parameter)) |
|
1065 | ||
1068 |
|
|
1066 | name_parameter = 'channelList' | |
|
1067 | format = 'intlist' | |||
1069 |
|
1068 | |||
1070 | opObj.addParameter(name=name_parameter, value=value, format=format) |
|
1069 | if not isIntList(value): | |
|
1070 | self.console.append("Invalid value '%s' for '%s'" %(value,name_parameter)) | |||
|
1071 | return 0 | |||
|
1072 | ||||
|
1073 | opObj.addParameter(name=name_parameter, value=value, format=format) | |||
1071 |
|
1074 | |||
1072 | if self.volOpCebCohInt.isChecked(): |
|
1075 | if self.volOpCebCohInt.isChecked(): | |
1073 | name_operation = 'CohInt' |
|
1076 | name_operation = 'CohInt' |
General Comments 0
You need to be logged in to leave comments.
Login now