- Timestamp:
- Dec 7, 2018 9:09:00 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_sync_sascalc
- Children:
- 44a698c
- Parents:
- aea6bb7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py
raea6bb7 r1dc1d431 329 329 surface = None 330 330 331 if (calculation_failed): 332 logging.warning('Calculation failed: {}'.format(msg)) 333 return self.model 334 335 low_calculation_pass = True 336 high_calculation_pass = True 331 337 if self._low_extrapolate: 332 338 try: 333 339 qstar_low, qstar_low_err = inv.get_qstar_low() 334 340 except Exception as ex: 335 calculation_failed = True341 low_calculation_pass = False 336 342 msg += str(ex) 343 logging.warning('Low-q calculation failed: {}'.format(msg)) 337 344 if self._high_extrapolate: 338 345 try: 339 346 qstar_high, qstar_high_err = inv.get_qstar_high() 340 347 except Exception as ex: 341 calculation_failed = True348 high_calculation_pass = False 342 349 msg += str(ex) 343 344 if (calculation_failed): 345 logging.warning('Calculation failed: {}'.format(msg)) 346 return self.model 347 348 if self._low_extrapolate: 350 logging.warning('High-q calculation failed: {}'.format(msg)) 351 352 353 if self._low_extrapolate and low_calculation_pass: 349 354 extrapolated_data = inv.get_extra_data_low(self._low_points) 350 355 power_low = inv.get_extrapolation_power(range='low') … … 374 379 title) 375 380 376 if self._high_extrapolate :381 if self._high_extrapolate and high_calculation_pass: 377 382 # for presentation in InvariantDetails 378 383 qmax_plot = Q_MAXIMUM_PLOT * max(temp_data.x)
Note: See TracChangeset
for help on using the changeset viewer.