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

custom models reloaded too often (Trac #624) #756

Closed
pkienzle opened this issue Mar 30, 2019 · 6 comments
Closed

custom models reloaded too often (Trac #624) #756

pkienzle opened this issue Mar 30, 2019 · 6 comments
Assignees
Labels
Critical High priority Defect Bug or undesirable behaviour
Milestone

Comments

@pkienzle
Copy link
Contributor

pkienzle commented Mar 30, 2019

Every custom model is being reloaded each time any model is updated.

To see this, uncomment line 117 of sasview_model.py (in load_custom_model), then use the model editor.

This is a minor performance issue, leading to lots of bloat in the plugins.log file if there are any errors in the models.

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

{
    "status": "closed",
    "changetime": "2016-10-09T15:09:59",
    "_ts": "2016-10-09 15:09:59.178511+00:00",
    "description": "Every custom model is being reloaded each time any model is updated.\n\nTo see this, uncomment line 117 of sasview_model.py (in load_custom_model), then use the model editor.\n\nThis is a minor performance issue, leading to lots of bloat in the plugins.log file if there are any errors in the models.",
    "reporter": "pkienzle",
    "cc": "",
    "resolution": "fixed",
    "workpackage": "SasView Bug Fixing",
    "time": "2016-08-19T14:42:47",
    "component": "SasView",
    "summary": "custom models reloaded too often",
    "priority": "critical",
    "keywords": "",
    "milestone": "SasView 4.1.0",
    "owner": "wojciech",
    "type": "defect"
}
@pkienzle pkienzle added this to the SasView 4.1.0 milestone Mar 30, 2019
@pkienzle pkienzle added Critical High priority Defect Bug or undesirable behaviour Incomplete Migration and removed Incomplete Migration labels Mar 30, 2019
@pkienzle
Copy link
Contributor Author

Trac update at 2016/09/30 16:25:35:

  • pkienzle commented:

On mac release 4.0b1, multiple graphs are created on load which don't respond to close.

  • pkienzle changed milestone from "SasView Next Release +1" to "SasView 4.1.0"
  • pkienzle changed priority from "minor" to "critical"

@pkienzle
Copy link
Contributor Author

Trac update at 2016/09/30 16:34:06: pkienzle commented:

Extra graphs are also loaded in Windows, but at least there they can be closed so it is merely annoying.

@wpotrzebowski
Copy link
Contributor

Trac update at 2016/10/06 15:00:58:

  • wojciech changed owner from "" to "wojciech"
  • wojciech changed status from "new" to "assigned"

@wpotrzebowski
Copy link
Contributor

Trac update at 2016/10/06 15:19:48: wojciech commented:

This issue might be fixed in full 4.0 version.
I cannot reproduce multiple graphs problem and it seems that custom models are loaded only once.

@wpotrzebowski
Copy link
Contributor

Trac update at 2016/10/08 19:30:01: wojciech commented:

In changeset 47f2b5d:

#!CommitTicketReference repository="sasview" revision="47f2b5d45af5a67c5de39b0539edcbfbe5acbe7c"
Skipping extra Iq evaluation by not calling draw_model function from set polydisperisty parameters routine, ref #756 and #708

@wpotrzebowski
Copy link
Contributor

Trac update at 2016/10/09 15:09:59:

  • wojciech changed resolution from "" to "fixed"
  • wojciech changed status from "assigned" to "closed"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Critical High priority Defect Bug or undesirable behaviour
Projects
None yet
Development

No branches or pull requests

2 participants