Ignore:
Timestamp:
Apr 18, 2011 4:42:55 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
e58c280
Parents:
0c68c27
Message:

fixed a problem on report not including all plotpanels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitting.py

    rba1f0b2 r818589a  
    12971297        new_plot= Data2D(image=image, err_image=err_image) 
    12981298        new_plot.name = model.name 
    1299          
     1299        new_plot.title = "Analytical model 2D " 
    13001300        if data is None: 
    13011301            self._fill_default_model2D(theory=new_plot,  
     
    13241324            new_plot.xmin = data.xmin 
    13251325            new_plot.xmax = data.xmax 
     1326            title = data.title 
     1327            if len(title) > 1: 
     1328                new_plot.title = "Model2D for " + data.name 
    13261329        new_plot.is_data = False 
    13271330        new_plot.name = model.name + " ["+ str(model.__class__.__name__)+ "]" 
    1328         new_plot.title = "Analytical model 2D " 
     1331 
    13291332        theory_data = deepcopy(new_plot) 
    13301333        theory_data.name = "Unknown" 
     
    13451348        current_pg = self.fit_panel.get_page_by_id(page_id) 
    13461349        title = new_plot.title 
     1350 
    13471351        wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, 
    13481352                                               title=title)) 
Note: See TracChangeset for help on using the changeset viewer.