- Timestamp:
- Sep 27, 2018 9:28:29 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 12acdcc
- Parents:
- bd39d6c
- Location:
- src/sas
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/ResolutionCalculatorPanel.py
r30e0be0 r93c813f 464 464 465 465 detector_size = self.txtDetectorSize.text() 466 detector_size = self._string2list(detector_size) 466 det_size = self._string2list(detector_size) 467 # detector sizes must be ints. recast. 468 detector_size = [int(i) for i in det_size] 467 469 self.resolution.set_detector_size(detector_size) 468 470 -
src/sas/sascalc/calculator/resolution_calculator.py
r30e0be0 r93c813f 1008 1008 detector_offset = self.sample2detector_distance[1] 1009 1009 except: 1010 logger.error(str(sys.exc_info()[1])) 1010 # valid path for GUI allowed values - just pass 1011 pass 1012 #logger.error(str(sys.exc_info()[1])) 1011 1013 1012 1014 # detector size in [no of pix_x,no of pix_y] … … 1095 1097 output.qy_data = qy_value 1096 1098 except: 1097 logger.error(sys.exc_ value)1099 logger.error(sys.exc_info()[1]) 1098 1100 1099 1101 return output
Note: See TracChangeset
for help on using the changeset viewer.