Changeset 3c37ba2 in sasview


Ignore:
Timestamp:
Feb 17, 2009 10:45:17 AM (16 years ago)
Author:
Jae Cho <jhjcho@…>
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:
f343069
Parents:
f69bc394
Message:

fixed bugs in constraint error note

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/simfitpage.py

    r888e62c r3c37ba2  
    5959        self.Centre() 
    6060         
    61          
    6261    def onFit(self,event): 
    6362        """ signal for fitting""" 
     
    7372            self.manager._on_simul_fit() 
    7473        else: 
    75             wx.PostEvent(self.parent.GrandParent, StatusEvent(status=\ 
    76                             "Select at least on model to fit ")) 
     74            wx.PostEvent(self.parent.Parent, StatusEvent(status=\ 
     75                            "Select at least on model to fit... ")) 
    7776             
    7877             
     
    185184        for item in self.model_list: 
    186185            if item[0].GetValue()==True: 
    187                 item[1].schedule_tofit('True') 
     186                #item[1].schedule_tofit('True') 
     187                #item[1].schedule_tofit(1) 
    188188                self.model_toFit.append(item) 
     189                print "simultaneous fit ",item[1] 
    189190                self.manager.schedule_for_fit( value=1,fitproblem =item[1])  
    190191            else: 
     
    249250            except: 
    250251                raise 
    251                 wx.PostEvent(self.parent.GrandParent, StatusEvent(status="Constraint Error: %s" % sys.exc_value)) 
     252                wx.PostEvent(self.parent.Parent, StatusEvent(status="Constraint Error: %s" % sys.exc_value)) 
    252253        #print "simfitpage: self.params",self.params 
    253254         
Note: See TracChangeset for help on using the changeset viewer.