- Timestamp:
- Sep 9, 2009 7:14:15 PM (15 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- e83c75a
- Parents:
- 9ce41c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prview/perspectives/pr/explore_dialog.py
r9ff861b r3b865c1 17 17 import math 18 18 import logging 19 import sys 19 20 20 21 # Avoid Matplotlib complaining about the lack of legend on the plot … … 352 353 d = content.dmin + i * (content.dmax - content.dmin)/(content.npts-1.0) 353 354 self.pr_state.d_max = d 354 out, cov = self.pr_state.invert(self.nfunc)355 356 # Store results357 355 try: 356 out, cov = self.pr_state.invert(self.nfunc) 357 358 # Store results 358 359 iq0 = self.pr_state.iq0(out) 359 360 rg = self.pr_state.rg(out) … … 372 373 except: 373 374 # This inversion failed, skip this D_max value 374 logging.error("ExploreDialog: inversion failed for D_max=%s " % str(d))375 logging.error("ExploreDialog: inversion failed for D_max=%s\n%s" % (str(d), sys.exc_value)) 375 376 376 377 self.results = results
Note: See TracChangeset
for help on using the changeset viewer.