Changeset 9e4365b in sasview


Ignore:
Timestamp:
Jun 19, 2011 12:40:38 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:
9112910e
Parents:
c39e30a
Message:

fix minor single fit bug (mac)

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

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

    rc39e30a r9e4365b  
    19131913            self.Layout()  
    19141914            self.Refresh()  
    1915         #time.sleep(0.1)   
     1915        time.sleep(0.1)   
    19161916        #plot model ( when drawing, do not update chisqr value again) 
    19171917        self._draw_model(update_chisqr=False)     
  • sansview/perspectives/fitting/fitting.py

    rc39e30a r9e4365b  
    513513                enable1D=enable1D, enable2D=enable2D, 
    514514                qmin=qmin, qmax=qmax) 
    515             #time.sleep(0.2) 
     515            time.sleep(0.2) 
    516516 
    517517    def draw_model(self, model, page_id, data=None, smearer=None, 
     
    642642                                improvement_delta=0.1) 
    643643         
    644         #time.sleep(0.2) 
     644        time.sleep(0.2) 
    645645        ## perform single fit 
    646646         
     
    663663 
    664664        self.fit_thread_list[current_page_id] = calc_fit 
    665         #time.sleep(0.3) 
     665        time.sleep(0.3) 
    666666         
    667667        #self.ready_fit(calc_fit=calc_fit) 
     
    913913           
    914914        """   
    915         del self.fit_thread_list[page_id[0]] 
    916         #time.sleep(0.2)    
     915        if page_id[0] in self.fit_thread_list.keys(): 
     916            del self.fit_thread_list[page_id[0]] 
     917        time.sleep(0.2)    
    917918        try: 
    918919            if result == None: 
     
    984985            page_id = [] 
    985986        ## fit more than 1 model at the same time  
    986         #time.sleep(0.2)   
     987        time.sleep(0.2)   
    987988        try: 
    988989            msg = ""  
Note: See TracChangeset for help on using the changeset viewer.