Changeset ba01ad1 in sasview for src/sas/qtgui/Perspectives/Fitting/ComplexConstraint.py
- Timestamp:
- Jan 19, 2018 8:02:09 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 0764593
- Parents:
- c5a2722f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ComplexConstraint.py
rc5a2722f rba01ad1 152 152 param_str = self.cbParam2.currentText() 153 153 constraint_text = constraint_text.strip() 154 model_str = constraint_text[:constraint_text.index('.')] 155 #constraint_text = constraint_text[constraint_text.index('.')+1:] 154 model_str = self.txtName2.text() 156 155 157 156 # 0. Has to contain the model name … … 159 158 return False 160 159 161 # Remove model name from constraint text160 # Remove model name from constraint 162 161 constraint_text = constraint_text.replace(model_str+".",'') 163 162
Note: See TracChangeset
for help on using the changeset viewer.