Changeset 7c487846 in sasview for src/sas/qtgui/Perspectives/Invariant/InvariantDetails.py
- Timestamp:
- Nov 14, 2017 6:04:41 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, 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:
- fa81e94
- Parents:
- f1f3e6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Invariant/InvariantDetails.py
rf1f3e6a r7c487846 81 81 self.txtQDataErr.setText(self._model.item(WIDGETS.W_INVARIANT_ERR).text()) 82 82 83 # Reset progress counters 84 self.progress_low_qstar = 0.0 85 self.progress_high_qstar = 0.0 86 self.progress_qstar = 100.0 87 83 88 # Low-Q 84 89 if self._model.item(WIDGETS.W_ENABLE_LOWQ).text() == "true": … … 147 152 if self.progress_qstar == 'error': 148 153 msg += 'Error occurred when computing invariant from data.\n ' 149 if self.progress_qstar > 100: 150 msg += "Invariant Q contribution is greater than 100% .\n" 154 try: 155 if float(self.progress_qstar) > 100: 156 msg += "Invariant Q contribution is greater than 100% .\n" 157 except ValueError: 158 # Text message, skip msg update 159 pass 151 160 152 161 if self.progress_low_qstar == 'error':
Note: See TracChangeset
for help on using the changeset viewer.