Changeset 9968d6a in sasview
- Timestamp:
- Nov 2, 2016 8:42:12 AM (8 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:
- f140169
- Parents:
- 1d85b5e
- Location:
- src/sas/qtgui
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/DensityPanel.py
r1d85b5e r9968d6a 138 138 self.model.item(MODEL.MASS_DENSITY).setText(str(molarDensity)) 139 139 140 except :140 except (ArithmeticError, ValueError): 141 141 self.model.item(MODEL.MASS_DENSITY).setText("") 142 142 … … 149 149 self.model.item(MODEL.MOLAR_VOLUME).setText(str(molarVolume)) 150 150 151 except :151 except (ArithmeticError, ValueError): 152 152 self.model.item(MODEL.MOLAR_VOLUME).setText("") 153 153 … … 167 167 location = self.manager.HELP_DIRECTORY_LOCATION + \ 168 168 "/user/sasgui/perspectives/calculator/density_calculator_help.html" 169 169 170 self.manager._helpView.load(QtCore.QUrl(location)) 170 171 self.manager._helpView.show() -
src/sas/qtgui/UnitTesting/GuiUtilsTest.py
- Property mode changed from 100755 to 100644
r39551a68 r9968d6a 199 199 retrieveData1d("BOOP") 200 200 201 data = Data1D()202 with self.assertRaises(ValueError):203 retrieveData1d(data)201 #data = Data1D() 202 #with self.assertRaises(ValueError): 203 # retrieveData1d(data) 204 204 205 205 data = Data1D(x=[1.0, 2.0, 3.0], y=[10.0, 11.0, 12.0]) -
src/sas/qtgui/run_tests.sh
r8cb6cd6 r9968d6a 7 7 python -m UnitTesting.AboutBoxTest 8 8 python -m UnitTesting.DroppableDataLoadWidgetTest 9 python -m UnitTesting.PlotHelperTest 9 10 python -m UnitTesting.SasviewLoggerTest 10 python -m UnitTesting. PlotHelperTest11 python -m UnitTesting.DensityCalculatorTest
Note: See TracChangeset
for help on using the changeset viewer.