Changeset 9f4c579 in sasview
- Timestamp:
- Apr 22, 2011 4:59:46 PM (14 years ago)
- 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
- Location:
- guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/data_panel.py
rf7d0b74 r9f4c579 265 265 self.bt_add.SetToolTipString("Add data from the application") 266 266 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) 270 270 self.bt_import = wx.Button(self, wx.NewId(), "Send To") 271 271 self.bt_import.SetToolTipString("Send set of Data to active perspective") … … 683 683 if path is None or not file_list or file_list[0] is None: 684 684 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): 688 688 """ 689 689 """ -
guiframe/gui_manager.py
r32d26da r9f4c579 1366 1366 data = panel.get_data() 1367 1367 state = panel.get_state() 1368 print "data =------",panel 1368 1369 if reader is not None: 1369 1370 if data is not None: … … 1384 1385 else: 1385 1386 msg = "%s cannot read %s\n" % (str(APPLICATION_NAME), str(path)) 1386 raise RuntimeError, msg 1387 #raise RuntimeError, msg 1388 print msg 1387 1389 return doc 1388 1390
Note: See TracChangeset
for help on using the changeset viewer.