models are loaded and assigned to lists and dictionaries hard coded in models.py. All that information should now be in the models themselves. Need to replace the huge chunk of code with a loop reading all models in the models directory and getting their names (to populate a model names list for GUI dropdown) and populate the appropriate lists and dictionaries.
Migrated from http://trac.sasview.org/ticket/506
{
"status": "closed",
"changetime": "2016-03-18T15:57:48",
"_ts": "2016-03-18 15:57:48.294221+00:00",
"description": "models are loaded and assigned to lists and dictionaries hard coded in models.py. All that information should now be in the models themselves. Need to replace the huge chunk of code with a loop reading all models in the models directory and getting their names (to populate a model names list for GUI dropdown) and populate the appropriate lists and dictionaries.\n",
"reporter": "butler",
"cc": "",
"resolution": "fixed",
"workpackage": "SasModels Redesign",
"time": "2016-03-06T22:51:31",
"component": "SasView",
"summary": "Fix loading of models in models.py and autodiscovery",
"priority": "blocker",
"keywords": "",
"milestone": "SasView 4.0.0",
"owner": "ajj",
"type": "task"
}
models are loaded and assigned to lists and dictionaries hard coded in models.py. All that information should now be in the models themselves. Need to replace the huge chunk of code with a loop reading all models in the models directory and getting their names (to populate a model names list for GUI dropdown) and populate the appropriate lists and dictionaries.
Migrated from http://trac.sasview.org/ticket/506
{ "status": "closed", "changetime": "2016-03-18T15:57:48", "_ts": "2016-03-18 15:57:48.294221+00:00", "description": "models are loaded and assigned to lists and dictionaries hard coded in models.py. All that information should now be in the models themselves. Need to replace the huge chunk of code with a loop reading all models in the models directory and getting their names (to populate a model names list for GUI dropdown) and populate the appropriate lists and dictionaries.\n", "reporter": "butler", "cc": "", "resolution": "fixed", "workpackage": "SasModels Redesign", "time": "2016-03-06T22:51:31", "component": "SasView", "summary": "Fix loading of models in models.py and autodiscovery", "priority": "blocker", "keywords": "", "milestone": "SasView 4.0.0", "owner": "ajj", "type": "task" }