Changeset 93c813f in sasview for src/sas/sascalc/calculator


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/sascalc/calculator/resolution_calculator.py

    r30e0be0 r93c813f  
    10081008            detector_offset = self.sample2detector_distance[1] 
    10091009        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])) 
    10111013 
    10121014        # detector size in [no of pix_x,no of pix_y] 
     
    10951097            output.qy_data = qy_value 
    10961098        except: 
    1097             logger.error(sys.exc_value) 
     1099            logger.error(sys.exc_info()[1]) 
    10981100 
    10991101        return output 
Note: See TracChangeset for help on using the changeset viewer.