Changeset cfbd06a in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Jun 12, 2011 6:58:37 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:
d7e9792
Parents:
d59518e
Message:

update prints

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

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

    rd59518e rcfbd06a  
    984984        #single fit  
    985985        self._manager.onFit() 
    986         print "after Fit" 
    987986        self.btFit.SetLabel("Stop") 
    988         print "after stopBT" 
    989987        self.bind_fit_button() 
    990         print "after stopBTBind" 
     988            
    991989    
    992990    def bind_fit_button(self): 
  • sansview/perspectives/fitting/fitting.py

    rbe756f3 rcfbd06a  
    922922                for name in pars: 
    923923                    param_name.append(name) 
    924                      
     924                print "berfore cpage"     
    925925                cpage = self.fit_panel.get_page_by_id(uid) 
     926                print "berfore onsetValues"  
    926927                cpage.onsetValues(result.fitness,  
    927928                                  param_name, result.pvec,result.stderr) 
     929                print "berfore complete"  
    928930                wx.CallAfter(cpage._on_fit_complete) 
    929931            if result.stderr == None: 
     
    12851287            else: 
    12861288                data_id = data.id 
    1287             print "before update_theory" 
     1289 
    12881290            self.parent.update_theory(data_id=data_id,  
    12891291                                       theory=new_plot, 
    12901292                                       state=state)    
    1291             print "after update_theory"   
     1293  
    12921294            current_pg = self.fit_panel.get_page_by_id(page_id) 
    12931295            title = new_plot.title 
     
    12951297            wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, 
    12961298                                            title= str(title))) 
    1297             print "after plot"  
     1299 
    12981300            self.page_finder[page_id].set_theory_data(new_plot) 
    1299             print "before chisqr"  
     1301 
    13001302            if update_chisqr: 
    13011303                wx.PostEvent(current_pg, 
     
    13051307            else: 
    13061308                self._plot_residuals(page_id, data, index) 
    1307             print "after chisqr"  
     1309 
    13081310            msg = "Computation  completed!" 
    13091311            wx.PostEvent( self.parent, StatusEvent(status=msg, type="stop" )) 
    1310             print "after stop" 
     1312 
    13111313            #self.current_pg.state.theory_data = deepcopy(self.theory_data) 
    13121314        except: 
Note: See TracChangeset for help on using the changeset viewer.