Skip to content

Need better feedback to user when fitting fails to converge (Trac #924) #1007

@butlerpd

Description

@butlerpd

As of version 4.1, when the fitting fails to converge or hits a singularity etc, there are two responses. For sum/multiply (including P*S) models which are still in the old !SasView infrastructure a pop up with the traceback ... which is extremely confusing to the user and not helpful. For regular models that use the sasmodels infrastructure, a message is sent to the console stating that no values were returned from the fitter and a warning that fitting did not converge. Also the corner of the console line goes red. However the console line stays blank.

The first issue will get resolved when the sum/multiply get moved to the product model in the sasmodels infrastructure.

Two other things are being requested in order to make this useful:

  • Send the message also to a popup
  • To the "fitting did not converge" add some suggestions for what might help such as "you might want to check your starting parameters"

Migrated from http://trac.sasview.org/ticket/924

{
    "status": "new",
    "changetime": "2017-10-26T13:29:58",
    "_ts": "2017-10-26 13:29:58.783704+00:00",
    "description": "As of version 4.1, when the fitting fails to converge or hits a singularity etc, there are two responses.  For sum/multiply (including P*S) models which are still in the old !SasView infrastructure a pop up with the traceback ... which is extremely confusing to the user and not helpful. For regular models that use the sasmodels infrastructure, a message is sent to the console stating that no values were returned from the fitter and a warning that fitting did not converge.  Also the corner of the console line goes red.  However the console line stays blank.\n\nThe first issue will get resolved when the sum/multiply get moved to the product model in the sasmodels infrastructure. \n\nTwo other things are being requested in order to make this useful:\n* Send the message also to a popup\n* To the \"fitting did not converge\" add some suggestions for what might help such as \"you might want to check your starting parameters\"",
    "reporter": "butler",
    "cc": "",
    "resolution": "",
    "workpackage": "SasView Bug Fixing",
    "time": "2017-04-05T16:30:00",
    "component": "SasView",
    "summary": "Need better feedback to user when fitting fails to converge",
    "priority": "major",
    "keywords": "",
    "milestone": "SasView 5.0.0",
    "owner": "",
    "type": "defect"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    DefectBug or undesirable behaviourMajorBig change in the code or important change in behaviour

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions