Changeset 464cd07 in sasview for src/sas/qtgui/Calculators
- Timestamp:
- Aug 22, 2017 3:59:29 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:
- b2a5042
- Parents:
- 457d961
- Location:
- src/sas/qtgui/Calculators
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/GenericScatteringCalculator.py
- Property mode changed from 100755 to 100644
r457d961 r464cd07 100 100 101 101 # plots - 3D in real space 102 self.trigger_plot_3d.connect(lambda: self.plot3d(has_arrow=False)) 102 plot3d = self.plot3d(has_arrow=False) 103 self.trigger_plot_3d.connect(plot3d) 104 #self.trigger_plot_3d.connect(lambda: self.plot3d(has_arrow=False)) 103 105 104 106 self.graph_num = 1 # index for name of graph -
src/sas/qtgui/Calculators/UnitTesting/DensityCalculatorTest.py
r83eb5208 r464cd07 19 19 import sas.qtgui.Utilities.LocalConfig 20 20 21 app = QtGui.QApplication(sys.argv) 21 if not QtGui.QApplication.instance(): 22 app = QtGui.QApplication(sys.argv) 22 23 23 24 class ToMolarMassTest(unittest.TestCase): -
src/sas/qtgui/Calculators/UnitTesting/GenericScatteringCalculatorTest.py
- Property mode changed from 100755 to 100644
r457d961 r464cd07 24 24 from sas.sascalc.calculator import sas_gen 25 25 26 app = QtGui.QApplication(sys.argv) 26 if not QtGui.QApplication.instance(): 27 app = QtGui.QApplication(sys.argv) 27 28 28 29 -
src/sas/qtgui/Calculators/UnitTesting/KiessigCalculatorTest.py
r83eb5208 r464cd07 11 11 from sas.qtgui.Calculators.KiessigPanel import KiessigPanel 12 12 13 app = QtGui.QApplication(sys.argv) 13 if not QtGui.QApplication.instance(): 14 app = QtGui.QApplication(sys.argv) 14 15 15 16 -
src/sas/qtgui/Calculators/UnitTesting/SLDCalculatorTest.py
r83eb5208 r464cd07 20 20 import sas.qtgui.Utilities.LocalConfig 21 21 22 app = QtGui.QApplication(sys.argv) 22 if not QtGui.QApplication.instance(): 23 app = QtGui.QApplication(sys.argv) 23 24 24 25 class SldResultTest(unittest.TestCase): -
src/sas/qtgui/Calculators/UnitTesting/SlitSizeCalculatorTest.py
r83eb5208 r464cd07 12 12 from sas.sascalc.dataloader.loader import Loader 13 13 14 app = QtGui.QApplication(sys.argv) 14 if not QtGui.QApplication.instance(): 15 app = QtGui.QApplication(sys.argv) 15 16 16 17 … … 87 88 self.widget.calculateSlitSize, data) 88 89 89 filename = "empty_file.txt"90 loader = Loader()91 data = loader.load(filename)92 self.assertRaisesRegexp(RuntimeError,93 "ERROR: Data hasn't been loaded correctly",94 self.widget.calculateSlitSize, data)95 96 90 data = None 97 91 self.assertRaisesRegexp(RuntimeError,
Note: See TracChangeset
for help on using the changeset viewer.