Changeset 19ef1e5 in sasview for sansmodels/src/sans
- Timestamp:
- Mar 6, 2009 2:56:44 PM (15 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:
- 0b99881
- Parents:
- c79ee796
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/BaseComponent.py
r2caecd5 r19ef1e5 72 72 # Look for dispersion parameters 73 73 toks = name.split('.') 74 #print "dispersion",self.dispersion75 74 if len(toks)==2: 76 75 for item in self.dispersion.keys(): … … 85 84 if item.lower()==name.lower(): 86 85 self.params[item] = value 87 #self.params[item] = Parameter(name= item,value=value, is_fixed=False)88 #print "setparam,self.param",self.params.values()89 86 return 90 87 … … 109 106 for item in self.params.keys(): 110 107 if item.lower()==name.lower(): 111 #print "getparam", self.params112 #return self.params[item].value113 108 return self.params[item] 114 109
Note: See TracChangeset
for help on using the changeset viewer.