Changeset fe3aba9 in sasview for sansview/perspectives/fitting
- Timestamp:
- Feb 24, 2009 6:12:03 PM (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:
- 2fe03d5
- Parents:
- 1fc7411
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage1D.py
r08895c5 rfe3aba9 407 407 self.qmax_x =float( self.qmax.GetValue()) 408 408 if len(self.param_toFit) >0 and flag==True: 409 if self.data.name == self.model.__class__.__name__:410 print "when here have the same name "411 wx.PostEvent(self.parent.parent, StatusEvent(status=\412 "Attempt to fit model %s with itself. fit will\413 not be performed"%self.data.name))414 return409 #if self.data.name == self.model.__class__.__name__: 410 #print "when here have the same name " 411 #wx.PostEvent(self.parent.parent, StatusEvent(status=\ 412 #"Attempt to fit model %s with itself. fit will\ 413 #not be performed"%self.data.name)) 414 #return 415 415 self.manager.schedule_for_fit( value=1,fitproblem =None) 416 416 if hasattr(self.data, "data"): … … 424 424 else: 425 425 wx.PostEvent(self.parent.parent, StatusEvent(status=\ 426 "Select at least on parameter to fit "))426 "Select at least one parameter to fit ")) 427 427 428 428
Note: See TracChangeset
for help on using the changeset viewer.