- Timestamp:
- Nov 21, 2018 6:11:26 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 99372b6
- Parents:
- 442a9ae
- Location:
- src/sas/qtgui/Perspectives/Fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ComplexConstraint.py
r09e0c32 rd72ac57 17 17 from sas.qtgui.Perspectives.Fitting.Constraint import Constraint 18 18 19 ALLOWED_OPERATORS = ['=','<','>','>=','<='] 19 #ALLOWED_OPERATORS = ['=','<','>','>=','<='] 20 ALLOWED_OPERATORS = ['='] 20 21 21 22 # Local UI -
src/sas/qtgui/Perspectives/Fitting/UnitTesting/ComplexConstraintTest.py
recc5d043 rd72ac57 137 137 138 138 # Change parameter and operand 139 self.widget.cbOperator.setCurrentIndex(3)139 #self.widget.cbOperator.setCurrentIndex(3) 140 140 self.widget.cbParam2.setCurrentIndex(3) 141 141 c = self.widget.constraint() 142 142 self.assertEqual(c[0], 'M1') 143 143 self.assertEqual(c[1].func, 'M1.sld_solvent') 144 self.assertEqual(c[1].operator, '>=')144 #self.assertEqual(c[1].operator, '>=') 145 145 146 146 def testOnHelp(self):
Note: See TracChangeset
for help on using the changeset viewer.