Changeset 7a07864 in sasview for sansview/perspectives/fitting
- Timestamp:
- Aug 16, 2010 1:35:12 PM (14 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:
- 077f096
- Parents:
- b63dc6e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
rb63dc6e r7a07864 35 35 from sans.guicomm.events import EVT_SLICER_PANEL,ERR_DATA,EVT_REMOVE_DATA 36 36 from sans.guicomm.events import EVT_SLICER_PARS_UPDATE 37 from sans.guicomm.events import EVT_FITSTATE_UPDATE 37 38 38 39 from sans.fit.AbstractFitEngine import Model … … 51 52 52 53 (PageInfoEvent, EVT_PAGE_INFO) = wx.lib.newevent.NewEvent() 53 (FitStateUpdateEvent, EVT_STATE_UPDATE) = wx.lib.newevent.NewEvent()54 #(FitStateUpdateEvent, EVT_STATE_UPDATE) = wx.lib.newevent.NewEvent() 54 55 from fitpage import Chi2UpdateEvent 55 56 … … 238 239 """ 239 240 self.parent = parent 240 self.parent.Bind(EVT_ STATE_UPDATE, self.on_set_state_helper)241 self.parent.Bind(EVT_FITSTATE_UPDATE, self.on_set_state_helper) 241 242 # Creation of the fit panel 242 243 self.fit_panel = FitPanel(self.parent, -1) … … 320 321 : event: FitStateUpdateEvent called by dataloader.plot_data from guiframe 321 322 """ 322 if len(self.temp_state) == 0 and self.sfile_ext =='.svs':323 if self.state_index==0 and len(self.mypanels) <= 0 :323 if len(self.temp_state) == 0: 324 if self.state_index==0 and len(self.mypanels) <= 0 and self.sfile_ext =='.svs': 324 325 self.fit_panel.add_default_pages() 325 326 self.temp_state = []
Note: See TracChangeset
for help on using the changeset viewer.