Changeset 14c707f in sasview


Ignore:
Timestamp:
Feb 16, 2009 2:25:41 PM (16 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:
01798e3
Parents:
39a365d
Message:

enabled 2nd time simfit

File:
1 edited

Legend:

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

    r39a365d r14c707f  
    379379        #current_pg=self.fit_panel.get_current_page()  
    380380        #simul_pg=self.fit_panel.get_page(0) 
    381              
     381        pars=[]    
    382382        for page, value in self.page_finder.iteritems(): 
    383383            if  value.get_scheduled() ==1 : 
     
    388388                print "single fit", model, smearer 
    389389                #Create list of parameters for fitting used 
    390                 pars=[] 
     390                 
    391391                templist=[] 
    392392                try: 
     
    404404                                         smearer=smearer,qmin= qmin,qmax=qmax, 
    405405                                         ymin=ymin,ymax=ymax) 
    406                      
     406                    print "single---->value of problem",value.get_scheduled() 
    407407                    self.fitter.select_problem_for_fit(Uid=self.id,value=value.get_scheduled()) 
    408408                    page_fitted=page 
    409409                    self.id+=1 
    410                     self.schedule_for_fit( 0,value)  
     410                    #self.schedule_for_fit( 0,value)  
    411411                except: 
    412412                    raise  
     
    493493                    self.fitter.set_model(new_model, self.id, pars)  
    494494                    self.fitter.set_data(metadata,self.id,qmin,qmax,ymin,ymax) 
     495                    print "sim---->value of problem",value.get_scheduled() 
    495496                    self.fitter.select_problem_for_fit(Uid=self.id,value=value.get_scheduled()) 
    496497                    self.id += 1  
Note: See TracChangeset for help on using the changeset viewer.