Ignore:
Timestamp:
Sep 13, 2018 9:34:05 AM (6 years ago)
Author:
wojciech
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:
4b7d322
Parents:
2385397
Message:

Simulated error handling added to more logical place

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py

    r28965e9 reeea6a3  
    462462            self._calculator.set_qmin(qmin) 
    463463            self._calculator.set_qmax(qmax) 
     464            if np.size(self.logic.data.dy) == 0 or np.all(self.logic.data.dy) == 0: 
     465                self.logic.data.dy = self._calculator.add_errors(self.logic.data.y) 
    464466            self.updateDataList(data) 
    465467            self.populateDataComboBox(self.logic.data.filename, data) 
Note: See TracChangeset for help on using the changeset viewer.