-
Notifications
You must be signed in to change notification settings - Fork 47
Description
(1) Minor chicken & egg situation here.
The "advanced" plug-in model editor only opens successfully compiled models. Even if you close an opened file, the file/open is greyed out so you cannot open any other file unless you instead go to the "tools" drop down and use the full python shell.
(2) Note also that the latter when opening mymodel.py also opens associated mymodel.c, but the advanced model editor does not.
(3) Possibly change custom model editor items to rename "new" to "new simple" and add "new advanced" to allow to open any file in plug-in models directory (avoiding temptation for users to edit a built in model under sasview!) [The simple editor is very good!]
(4) "delete" could put up an "are you sure" box as it really does delete the files, not just remove the model from sasview.
(5) can "check model" also perform unit tests rather than having to load and run separate python code?
Migrated from http://trac.sasview.org/ticket/754
{
"status": "closed",
"changetime": "2018-11-27T18:16:26",
"_ts": "2018-11-27 18:16:26.600169+00:00",
"description": "(1) Minor chicken & egg situation here.\nThe \"advanced\" plug-in model editor only opens successfully compiled models. Even if you close an opened file, the file/open is greyed out so you cannot open any other file unless you instead go to the \"tools\" drop down and use the full python shell.\n\n(2) Note also that the latter when opening mymodel.py also opens associated mymodel.c, but the advanced model editor does not.\n\n(3) Possibly change custom model editor items to rename \"new\" to \"new simple\" and add \"new advanced\" to allow to open any file in plug-in models directory (avoiding temptation for users to edit a built in model under sasview!) [The simple editor is very good!]\n\n(4) \"delete\" could put up an \"are you sure\" box as it really does delete the files, not just remove the model from sasview.\n\n(5) can \"check model\" also perform unit tests rather than having to load and run separate python code?",
"reporter": "richardh",
"cc": "",
"resolution": "fixed",
"workpackage": "SasView Bug Fixing",
"time": "2016-10-10T14:21:14",
"component": "SasView",
"summary": "advanced plug-in model editor - improvements",
"priority": "major",
"keywords": "",
"milestone": "SasView 5.0.0",
"owner": "",
"type": "defect"
}