Changeset e83c75a in sasview for pr_inversion


Ignore:
Timestamp:
Sep 9, 2009 7:20:46 PM (15 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
aeb3c20
Parents:
3b865c1
Message:

pr_inversion: catch previously uncaught exception when exploring d_max values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pr_inversion/distance_explorer.py

    r7d8c41f re83c75a  
    7777            d = dmin + i * (dmax - dmin)/(npts-1.0) 
    7878            self.pr_state.d_max = d 
    79             out, cov = self.pr_state.invert(self.pr_state.nfunc)     
     79            try: 
     80                out, cov = self.pr_state.invert(self.pr_state.nfunc)     
    8081             
    81             # Store results 
    82             try: 
     82                # Store results 
    8383                iq0 = self.pr_state.iq0(out) 
    8484                rg = self.pr_state.rg(out) 
Note: See TracChangeset for help on using the changeset viewer.