Changeset d0eac66 in sasview
- Timestamp:
- Feb 9, 2009 4:35:43 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:
- fee6059
- Parents:
- 13e120a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
r13e120a rd0eac66 199 199 #find a name for the page created for notebook 200 200 try: 201 201 202 page, model_name = self.fit_panel.add_fit_page(item) 202 203 # add data associated to the page created 203 204 if page !=None: 204 205 if page !=None: 205 206 #create a fitproblem storing all link to data,model,page creation 206 207 self.page_finder[page]= FitProblem() 207 208 self.page_finder[page].save_model_name(model_name) 208 209 self.page_finder[page].add_data(item) 210 wx.PostEvent(self.parent, StatusEvent(status="Page Created")) 211 else: 212 wx.PostEvent(self.parent, StatusEvent(status="Page was already Created")) 209 213 except: 210 raise214 #raise 211 215 wx.PostEvent(self.parent, StatusEvent(status="Creating Fit page: %s"\ 212 216 %sys.exc_value)) … … 669 673 theory.source= data.source 670 674 675 theory.qmin= qmin 676 theory.qmax= qmax 677 theory.ymin= ymin 678 theory.ymax= ymax 671 679 theory.xmin= xmin 672 680 theory.xmax= xmax 673 theory.ymin= ymin674 theory.ymax= ymax675 681 676 682 wx.PostEvent(self.parent, NewPlotEvent(plot=theory,
Note: See TracChangeset
for help on using the changeset viewer.