Changeset e1442d4 in sasview for src/sas/perspectives/fitting


Ignore:
Timestamp:
Jun 2, 2015 11:51:34 AM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
b99a4552
Parents:
422e7e8
Message:

better handling of unsuccessful bumps fits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/perspectives/fitting/fitting.py

    r9776c82 re1442d4  
    15111511 
    15121512        except: 
    1513             msg = "Fit completed but Following" 
    1514             msg += " warning occurred: %s" % sys.exc_value 
     1513            msg = ("Fit completed but the following error occurred: %s" 
     1514                   % sys.exc_value) 
     1515            #import traceback; msg = "\n".join((traceback.format_exc(), msg)) 
    15151516            wx.PostEvent(self.parent, StatusEvent(status=msg, info="warning", 
    15161517                                                  type="stop")) 
Note: See TracChangeset for help on using the changeset viewer.