Changeset 3c37ba2 in sasview
- Timestamp:
- Feb 17, 2009 8:45:17 AM (16 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/simfitpage.py
r888e62c r3c37ba2 59 59 self.Centre() 60 60 61 62 61 def onFit(self,event): 63 62 """ signal for fitting""" … … 73 72 self.manager._on_simul_fit() 74 73 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... ")) 77 76 78 77 … … 185 184 for item in self.model_list: 186 185 if item[0].GetValue()==True: 187 item[1].schedule_tofit('True') 186 #item[1].schedule_tofit('True') 187 #item[1].schedule_tofit(1) 188 188 self.model_toFit.append(item) 189 print "simultaneous fit ",item[1] 189 190 self.manager.schedule_for_fit( value=1,fitproblem =item[1]) 190 191 else: … … 249 250 except: 250 251 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)) 252 253 #print "simfitpage: self.params",self.params 253 254
Note: See TracChangeset
for help on using the changeset viewer.