Changeset dda70f7 in sasview for sansmodels/src/sans/models
- Timestamp:
- Dec 21, 2011 9:44:19 AM (13 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:
- 86be650
- Parents:
- 5c77050
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/pluginmodel.py
r79ac6f8 rdda70f7 12 12 self.details = {} 13 13 self.params = {} 14 self.description =''14 self.description = 'plugin model' 15 15 16 16 def function(self, x): … … 54 54 else: 55 55 return self.function(x) 56 57 def set_details(self): 58 """ 59 Set default details 60 """ 61 if not self.params: 62 return {} 63 64 for key in self.params.keys(): 65 self.details[key] = ['', None, None]
Note: See TracChangeset
for help on using the changeset viewer.