Changes in src/sas/qtgui/Perspectives/Fitting/ModelUtilities.py [3b3b40b:b3e8629] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ModelUtilities.py
- Property mode changed from 100644 to 100755
r3b3b40b rb3e8629 179 179 plugins = {} 180 180 for filename in os.listdir(directory): 181 182 181 name, ext = os.path.splitext(filename) 183 182 if ext == '.py' and not name == '__init__': … … 185 184 try: 186 185 model = load_custom_model(path) 187 #model.name = PLUGIN_NAME_BASE + model.name186 model.name = PLUGIN_NAME_BASE + model.name 188 187 plugins[model.name] = model 189 188 except Exception: … … 416 415 implement model 417 416 """ 418 def __init__(self): 419 self.__modelmanager = ModelManagerBase() 420 self.cat_model_list = [self.__modelmanager.model_dictionary[model_name] for model_name \ 421 in list(self.__modelmanager.model_dictionary.keys()) \ 422 if model_name not in list(self.__modelmanager.stored_plugins.keys())] 423 424 CategoryInstaller.check_install(model_list=self.cat_model_list) 425 417 __modelmanager = ModelManagerBase() 418 cat_model_list = [__modelmanager.model_dictionary[model_name] for model_name \ 419 in list(__modelmanager.model_dictionary.keys()) \ 420 if model_name not in list(__modelmanager.stored_plugins.keys())] 421 422 CategoryInstaller.check_install(model_list=cat_model_list) 426 423 def findModels(self): 427 424 return self.__modelmanager.findModels()
Note: See TracChangeset
for help on using the changeset viewer.