Skip to content

GUI warning about P(r) not using multiple data sets (Trac #779) #887

@wpotrzebowski

Description

@wpotrzebowski

P(r) persepective works on a single data set only, which is reasonable. However when you have a two data set load and forget to unselected one, the warning message is not populated to GUI. The console returns istead:

\sasgui\perspectives\pr\pr.py", line 1278, in set_data
msg += "Prview does not allow multiple data!\n"
UnboundLocalError: local variable 'msg' referenced before assignment

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

{
    "status": "closed",
    "changetime": "2016-10-12T01:36:06",
    "_ts": "2016-10-12 01:36:06.170553+00:00",
    "description": "P(r) persepective works on a single data set only, which is reasonable. However when you have a two data set load and forget to unselected one, the warning message is not populated to GUI. The console returns istead:\n\n\\sasgui\\perspectives\\pr\\pr.py\", line 1278, in set_data\n    msg += \"Prview does not allow multiple data!\\n\"\nUnboundLocalError: local variable 'msg' referenced before assignment\n",
    "reporter": "wojciech",
    "cc": "",
    "resolution": "fixed",
    "workpackage": "SasView Bug Fixing",
    "time": "2016-10-12T00:16:50",
    "component": "SasView",
    "summary": "GUI warning about P(r)  not using multiple data sets",
    "priority": "major",
    "keywords": "",
    "milestone": "SasView 4.1.0",
    "owner": "piotr",
    "type": "defect"
}

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions