Changeset 93c813f in sasview for src/sas/qtgui/Calculators


Ignore:
Timestamp:
Sep 27, 2018 9:28:29 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
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
Message:

float→int cast must be made in GUI. SASVIEW-1137

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Calculators/ResolutionCalculatorPanel.py

    r30e0be0 r93c813f  
    464464 
    465465            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] 
    467469            self.resolution.set_detector_size(detector_size) 
    468470 
Note: See TracChangeset for help on using the changeset viewer.