Changeset 6280464 in sasview for src/sas/qtgui/Calculators/DataOperationUtilityPanel.py
- Timestamp:
- Nov 3, 2017 10:58:39 AM (7 years ago)
- Branches:
- 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
- Children:
- 412e069e
- Parents:
- 304d082
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/DataOperationUtilityPanel.py
r0849aec r6280464 140 140 data1 = self.data1 141 141 data2 = self.data2 142 exec("output = data1 %s data2" % operator) 143 except: 144 raise 142 output = eval("data1 %s data2" % operator) 143 except Exception as ex: 144 logging.error(ex) 145 return 145 146 146 147 self.output = output
Note: See TracChangeset
for help on using the changeset viewer.