Changeset f4a1433 in sasview for src/sas/qtgui/Calculators/UnitTesting/SlitSizeCalculatorTest.py
- Timestamp:
- Oct 24, 2017 2:44:26 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:
- fca1f50, d6b234b
- Parents:
- 16afe01 (diff), 5582b078 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/UnitTesting/SlitSizeCalculatorTest.py
r8222f171 rf4a1433 71 71 filename = "beam_profile.DAT" 72 72 loader = Loader() 73 data = loader.load(filename) 73 data = loader.load(filename)[0] 74 74 75 75 self.widget.calculateSlitSize(data) … … 81 81 """ Test on wrong input data """ 82 82 83 filename = " Dec07031.ASC"83 filename = "P123_D2O_10_percent.dat" 84 84 loader = Loader() 85 data = loader.load(filename) 85 data = loader.load(filename)[0] 86 86 self.assertRaisesRegexp(RuntimeError, 87 87 "Slit Length cannot be computed for 2D Data",
Note: See TracChangeset
for help on using the changeset viewer.