Changeset 37290c4 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Jun 11, 2011 2:17:11 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:
57ca7f3
Parents:
ec6fbe2
Message:

fixed minor bug

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

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

    r88f286d r37290c4  
    18771877        ## save current state   
    18781878        self.save_current_state()           
     1879         
     1880        self._lay_out()    
     1881        self.Refresh()  
     1882        time.sleep(0.1)   
    18791883        #plot model ( when drawing, do not update chisqr value again) 
    1880         self._draw_model(update_chisqr=False)    
    1881         self._lay_out()    
    1882         self.Refresh()     
     1884        self._draw_model(update_chisqr=False)     
    18831885        #PostStatusEvent      
    18841886        #msg = "Fit completed!dddd " 
  • sansview/perspectives/fitting/fitting.py

    r18e430a r37290c4  
    10211021        : parameter page_id: fitpage where the button is 
    10221022        """ 
     1023        if page_id.__class__.__name__ != 'list': 
     1024            page_id = [page_id] 
    10231025        for uid in page_id:   
    10241026            page = self.fit_panel.get_page_by_id(uid) 
Note: See TracChangeset for help on using the changeset viewer.