Changeset 5cf1e5b in sasview for fittingview/src/sans/perspectives


Ignore:
Timestamp:
Oct 4, 2011 1:10:00 PM (13 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:
34a60dd
Parents:
284f6fe
Message:

moved single fit plot before checking batch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitting.py

    r284f6fe r5cf1e5b  
    17721772        self.page_finder[page_id].set_residuals(residuals=new_plot, fid=data.id) 
    17731773        batch_on = self.fit_panel.get_page_by_id(page_id).batch_on 
    1774          
     1774        if not batch_on: 
     1775            wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, title=title)) 
     1776            return 
     1777        #reset weight   
     1778        #self.weight = None 
    17751779        # Need all residuals before plotting 
    17761780        # Should be refactored 
     
    18011805        wx.PostEvent(self.parent, event) 
    18021806         
    1803         if not batch_on: 
    1804             wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, title=title)) 
    1805              
    1806         #reset weight   
    1807         #self.weight = None 
     1807 
    18081808         
    18091809    def on_display_grid(self, event): 
Note: See TracChangeset for help on using the changeset viewer.