Changeset 8ee56a9 in sasview for sansview/perspectives


Ignore:
Timestamp:
Mar 15, 2011 5:14:53 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
552b3d5
Parents:
665c083
Message:

work on delete data

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

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

    re88ebfd r8ee56a9  
    269269        self.opened_pages[panel.id] = panel 
    270270        return panel  
    271     
    272      
     271     
     272    def delete_data(self, data): 
     273        """ 
     274        Delete the given data 
     275        """ 
     276        if data is None: 
     277            return None 
    273278    def set_data(self, data): 
    274279        """  
  • sansview/perspectives/fitting/fitting.py

    rdce84c0 r8ee56a9  
    252252        return True 
    253253     
     254    def delete_data(data): 
     255        """ 
     256        delete  the given data from panel 
     257        """ 
     258        self.fit_panel.delete_data(data) 
     259         
    254260    def set_data(self, data_list=None): 
    255261        """ 
Note: See TracChangeset for help on using the changeset viewer.