Changeset 3bf4a032 in sasview for sansview/perspectives/fitting
- Timestamp:
- May 24, 2010 5:40:15 PM (15 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:
- 232c3db
- Parents:
- 7f69d4d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
r7f69d4d r3bf4a032 108 108 self.theory_data = None 109 109 #Create a reader for fit page's state 110 self.state_reader = Reader(self.set_state) 111 #append that reader to list of available reader 112 loader = Loader() 113 loader.associate_file_reader(".fitv", self.state_reader) 110 self.state_reader = None 114 111 # Log startup 115 112 logging.info("Fitting plug-in started") … … 244 241 self.parent.Bind(EVT_SLICER_PARS_UPDATE, self._onEVT_SLICER_PANEL) 245 242 self.parent._mgr.Bind(wx.aui.EVT_AUI_PANE_CLOSE,self._onclearslicer) 246 247 243 #Create reader when fitting panel are created 244 self.state_reader = Reader(self.set_state) 245 #append that reader to list of available reader 246 loader = Loader() 247 loader.associate_file_reader(".fitv", self.state_reader) 248 248 #Send the fitting panel to guiframe 249 249 self.mypanels.append(self.fit_panel)
Note: See TracChangeset
for help on using the changeset viewer.