Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wpotrzebowski opened this issue Mar 30, 2019 · 2 comments
Closed
Assignees
Labels
Defect Bug or undesirable behaviour Major Big change in the code or important change in behaviour
Milestone

Comments

@wpotrzebowski
Copy link
Contributor

wpotrzebowski commented Mar 30, 2019

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"
}
@wpotrzebowski wpotrzebowski added this to the SasView 4.1.0 milestone Mar 30, 2019
@wpotrzebowski wpotrzebowski added Defect Bug or undesirable behaviour Incomplete Migration Major Big change in the code or important change in behaviour and removed Incomplete Migration labels Mar 30, 2019
@rozyczko
Copy link
Member

Trac update at 2016/10/12 01:35:00:

  • piotr changed owner from "" to "piotr"
  • piotr changed status from "new" to "accepted"

@sasview-bot
Copy link

Trac update at 2016/10/12 01:36:06:

In changeset a69a967:

#!CommitTicketReference repository="sasview" revision="a69a967b8ace2263edf57d6328d2ece6d26f1492"
Corrected message assignment. Fixed #887

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Defect Bug or undesirable behaviour Major Big change in the code or important change in behaviour
Projects
None yet
Development

No branches or pull requests

3 participants