Changes in / [54398d5:e33fcd1] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py
r1dc1d431 raea6bb7 329 329 surface = None 330 330 331 if (calculation_failed):332 logging.warning('Calculation failed: {}'.format(msg))333 return self.model334 335 low_calculation_pass = True336 high_calculation_pass = True337 331 if self._low_extrapolate: 338 332 try: 339 333 qstar_low, qstar_low_err = inv.get_qstar_low() 340 334 except Exception as ex: 341 low_calculation_pass = False335 calculation_failed = True 342 336 msg += str(ex) 343 logging.warning('Low-q calculation failed: {}'.format(msg))344 337 if self._high_extrapolate: 345 338 try: 346 339 qstar_high, qstar_high_err = inv.get_qstar_high() 347 340 except Exception as ex: 348 high_calculation_pass = False341 calculation_failed = True 349 342 msg += str(ex) 350 logging.warning('High-q calculation failed: {}'.format(msg)) 351 352 353 if self._low_extrapolate and low_calculation_pass: 343 344 if (calculation_failed): 345 logging.warning('Calculation failed: {}'.format(msg)) 346 return self.model 347 348 if self._low_extrapolate: 354 349 extrapolated_data = inv.get_extra_data_low(self._low_points) 355 350 power_low = inv.get_extrapolation_power(range='low') … … 379 374 title) 380 375 381 if self._high_extrapolate and high_calculation_pass:376 if self._high_extrapolate: 382 377 # for presentation in InvariantDetails 383 378 qmax_plot = Q_MAXIMUM_PLOT * max(temp_data.x)
Note: See TracChangeset
for help on using the changeset viewer.