Changeset acd9c311 in sasview for src/sas


Ignore:
Timestamp:
May 9, 2018 7:25:10 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, 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:
e30646ab
Parents:
fa05c6c1
Message:

Reverting an incorrect commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/fit/AbstractFitEngine.py

    r63319b0 racd9c311  
    300300            self.qmax = math.sqrt(x_max * x_max + y_max * y_max) 
    301301        ## new error image for fitting purpose 
    302         if self.err_data is None or not self.err_data: 
     302        if self.err_data is None or self.err_data == []: 
    303303            self.res_err_data = np.ones(len(self.data)) 
    304304        else: 
Note: See TracChangeset for help on using the changeset viewer.