Ignore:
Timestamp:
Jan 19, 2018 8:02:09 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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
Message:

Added batch fit constraints.
Cleaned up interactions between constraints in various tabs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/ComplexConstraint.py

    rc5a2722f rba01ad1  
    152152        param_str = self.cbParam2.currentText() 
    153153        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() 
    156155 
    157156        # 0. Has to contain the model name 
     
    159158            return False 
    160159 
    161         # Remove model name from constraint text 
     160        # Remove model name from constraint 
    162161        constraint_text = constraint_text.replace(model_str+".",'') 
    163162 
Note: See TracChangeset for help on using the changeset viewer.