Changeset bac3988 in sasview for src/sas/sasgui/perspectives/fitting/models.py
- Timestamp:
- Mar 17, 2016 11:08:10 AM (9 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 1c628f0
- Parents:
- a301204
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/models.py
rf66d9d1 rbac3988 303 303 for mod_name in sasmodels.core.list_models(): 304 304 mod_def = sasmodels.core.load_model_info(mod_name) 305 self.model_dictionary[mod_def['oldname']] = make_class(mod_def,dtype=None,namestyle='oldname') 306 self.model_name_list.append(mod_def['oldname']) 305 self.model_dictionary[mod_def['name']] = make_class(mod_def,dtype=None,namestyle='name') 307 306 if mod_def['structure_factor'] == True: 308 self.struct_list.append(self.model_dictionary[mod_def[' oldname']])307 self.struct_list.append(self.model_dictionary[mod_def['name']]) 309 308 if mod_def['variant_info'] is not None: 310 self.multi_func_list.append(self.model_dictionary[mod_def['oldname']]) 309 self.multi_func_list.append(self.model_dictionary[mod_def['name']]) 310 else: 311 self.model_name_list.append(mod_def['name']) 311 312 if mod_def['ER'] is not None: 312 self.multiplication_factor.append(self.model_dictionary[mod_def[' oldname']])313 self.multiplication_factor.append(self.model_dictionary[mod_def['name']]) 313 314 314 315 #Looking for plugins
Note: See TracChangeset
for help on using the changeset viewer.