Changeset c27a111 in sasview for sansguiframe/src/sans/guiframe
- Timestamp:
- Oct 14, 2011 1:57:31 PM (13 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:
- 1ec979d
- Parents:
- 978feaa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_processor.py
r23477c6 rc27a111 440 440 if label != "": 441 441 grid_view[label] = [] 442 for row in range(1, self.max_row_touse +1):442 for row in range(1, self.max_row_touse): 443 443 value = self.GetCellValue(row=row, col=col) 444 444 if value != "": … … 751 751 if value.object is None or len(value.object) == 0: 752 752 msg = "Row %s , " % str(row) 753 msg += "Column %s doesn't have a view" % str(label) 753 msg += "Column %s is NOT " % str(label) 754 msg += "the results of fits to view..." 754 755 #raise ValueError, msg 755 756 wx.PostEvent(self.parent.parent, StatusEvent(status=msg, … … 761 762 plottables.Plottable): 762 763 msg = "Row %s , " % str(row) 763 msg += "Column %s doesn't have a view" % str(label) 764 msg += "Column %s is NOT " % str(label) 765 msg += "the results of fits to view..." 764 766 #raise ValueError, msg 765 767 wx.PostEvent(self.parent.parent, … … 780 782 if len(grid.selected_cells) != 1: 781 783 msg = "2D View: Please select one data set" 782 msg += " at a time to view."784 msg += " at a time for View Results." 783 785 wx.PostEvent(self.parent.parent, 784 786 StatusEvent(status=msg, … … 795 797 group_id=str(group_id), 796 798 title=title)) 799 msg = "Plotting the View Results completed!" 800 wx.PostEvent( self.parent.parent, 801 StatusEvent(status=msg)) 797 802 else: 798 803 799 804 msg = "Row %s , " % str(row) 800 msg += "Column %s doesn't have a view" % str(label) 805 msg += "Column %s is NOT " % str(label) 806 msg += "the results of fits to view..." 801 807 #raise ValueError, msg 802 808 wx.PostEvent(self.parent.parent, … … 866 872 wx.PostEvent(self.parent.parent, 867 873 NewPlotEvent(plot=new_plot, 868 group_id=str(new_plot.group_id), title =title)) 874 group_id=str(new_plot.group_id), title =title)) 875 msg = "Plotting completed!" 876 wx.PostEvent( self.parent.parent, 877 StatusEvent(status=msg)) 869 878 except: 870 879 wx.PostEvent(self.parent.parent, 871 880 StatusEvent(status=msg, info="error")) 872 881 873 882 def layout_grid(self): 874 883 """
Note: See TracChangeset
for help on using the changeset viewer.