Changeset b9d74f3 in sasview for src/sas/sasgui/guiframe/data_processor.py
- Timestamp:
- Apr 20, 2017 6:29:34 AM (8 years ago)
- Children:
- 0cc77d8
- Parents:
- b636dfc5
- git-author:
- Andrew Nelson <andyfaff@…> (04/20/17 06:25:57)
- git-committer:
- Andrew Nelson <andyfaff@…> (04/20/17 06:29:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/data_processor.py
r7432acb rb9d74f3 907 907 msg = "Edit axis doesn't understand this selection.\n" 908 908 msg += "Please select only one column" 909 raise ValueError , msg909 raise ValueError(msg) 910 910 for (_, cell_col) in grid.selected_cells: 911 911 if cell_col != col: … … 913 913 msg += "this operation.\n" 914 914 msg += "Please select elements of the same col.\n" 915 raise ValueError , msg915 raise ValueError(msg) 916 916 917 917 # Finally check the highlighted cell if any cells missing … … 920 920 msg = "No item selected.\n" 921 921 msg += "Please select only one column or one cell" 922 raise ValueError , msg922 raise ValueError(msg) 923 923 return grid.selected_cells 924 924 … … 1324 1324 if sentence.strip() == "": 1325 1325 msg = "Select column values for x axis" 1326 raise ValueError , msg1326 raise ValueError(msg) 1327 1327 except: 1328 1328 msg = "X axis value error." … … 1343 1343 if sentence.strip() == "": 1344 1344 msg = "select value for y axis" 1345 raise ValueError , msg1345 raise ValueError(msg) 1346 1346 except: 1347 1347 msg = "Y axis value error."
Note: See TracChangeset
for help on using the changeset viewer.