Ignore:
Timestamp:
May 21, 2014 3:18:42 PM (10 years ago)
Author:
pkienzle
Branches:
master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
278e86f
Parents:
233c121
Message:

restore simultaneous fitting for bumps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sans/perspectives/fitting/simfitpage.py

    r233c121 rbf5e985  
    139139                break 
    140140 
    141         ## some model or parameters can be constrained 
    142         self._show_constraint() 
    143         self.sizer3.Layout() 
    144         self.Layout() 
    145         self.Refresh() 
    146141        #self._onAdd_constraint(None) 
    147142              
     
    820815                         
    821816                    for fid in self.page_finder[id].iterkeys(): 
    822                         self.page_finder[id].set_model_param(param, 
    823                                                         constraint, fid=fid) 
     817                        # wrap in param/constraint in str() to remove unicode 
     818                        self.page_finder[id].set_model_param(str(param), 
     819                                                        str(constraint), fid=fid) 
    824820                    break 
    825821        return True 
Note: See TracChangeset for help on using the changeset viewer.