Changeset d6e5b31 in sasview
- Timestamp:
- Oct 3, 2017 4:34: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:
- d5c5d3d, 13cd397, 28cda69
- Parents:
- 4f790d2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/calculator/resolution_calculator.py
r01cda57 rd6e5b31 816 816 if len(distance) < 1 or len(distance) > 2: 817 817 raise RuntimeError, "The length of the size must be one or two." 818 if len(distance) == 1: 819 distance.append(0) 818 820 self.sample.set_distance(distance) 819 821 … … 826 828 if len(distance) < 1 or len(distance) > 2: 827 829 raise RuntimeError, "The length of the size must be one or two." 830 if len(distance) == 1: 831 distance.append(0) 828 832 self.detector.set_distance(distance) 829 833
Note: See TracChangeset
for help on using the changeset viewer.