Changeset 9f4c579 in sasview


Ignore:
Timestamp:
Apr 22, 2011 4:59:46 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:
521baa9
Parents:
32d26da
Message:

remove data commented

Location:
guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_panel.py

    rf7d0b74 r9f4c579  
    265265        self.bt_add.SetToolTipString("Add data from the application") 
    266266        wx.EVT_BUTTON(self, self.bt_add.GetId(), self._load_data) 
    267         self.bt_remove = wx.Button(self, wx.NewId(), "Remove Data") 
    268         self.bt_remove.SetToolTipString("Remove data from the application") 
    269         wx.EVT_BUTTON(self, self.bt_remove.GetId(), self.on_remove) 
     267        #self.bt_remove = wx.Button(self, wx.NewId(), "Remove Data") 
     268       # self.bt_remove.SetToolTipString("Remove data from the application") 
     269       # wx.EVT_BUTTON(self, self.bt_remove.GetId(), self.on_remove) 
    270270        self.bt_import = wx.Button(self, wx.NewId(), "Send To") 
    271271        self.bt_import.SetToolTipString("Send set of Data to active perspective") 
     
    683683        if path is None or not file_list or file_list[0] is None: 
    684684            return 
    685         self.get_data(file_list) 
    686          
    687     def get_data(self, path, format=None): 
     685        self._get_data(file_list) 
     686         
     687    def _get_data(self, path, format=None): 
    688688        """ 
    689689        """ 
  • guiframe/gui_manager.py

    r32d26da r9f4c579  
    13661366            data = panel.get_data() 
    13671367            state = panel.get_state() 
     1368            print "data =------",panel 
    13681369            if reader is not None: 
    13691370                if data is not None: 
     
    13841385        else: 
    13851386            msg = "%s cannot read %s\n" % (str(APPLICATION_NAME), str(path)) 
    1386             raise RuntimeError, msg 
     1387            #raise RuntimeError, msg 
     1388            print  msg 
    13871389        return doc 
    13881390 
Note: See TracChangeset for help on using the changeset viewer.