Changeset 72f719b in sasview for sansview/perspectives/fitting
- Timestamp:
- Sep 11, 2009 8:01:47 AM (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:
- f9bf661
- Parents:
- b1f7ec6
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
rf8395e3 r72f719b 982 982 if model ==None: 983 983 return 984 if hasattr(model ," model2"):985 986 class_name= model. model2.__class__987 name= model. model2.name984 if hasattr(model ,"s_model"): 985 986 class_name= model.s_model.__class__ 987 name= model.s_model.name 988 988 flag= name != "NoStructure" 989 989 if flag and (class_name in self.model_list_box["Structure Factors"]): … … 1000 1000 break 1001 1001 1002 if hasattr(model ," model1"):1003 class_name = model. model1.__class__1004 name = model. model1.name1002 if hasattr(model ,"p_model"): 1003 class_name = model.p_model.__class__ 1004 name = model.p_model.name 1005 1005 self.formfactorbox.Clear() 1006 1006 -
sansview/perspectives/fitting/models.py
r5eb9154 r72f719b 148 148 from sans.models.FlexibleCylinderModel import FlexibleCylinderModel 149 149 self.shape_list.append(FlexibleCylinderModel) 150 self.multiplication_factor.append(FlexibleCylinderModel) 150 151 151 152 152 from sans.models.StackedDisksModel import StackedDisksModel … … 156 156 from sans.models.ParallelepipedModel import ParallelepipedModel 157 157 self.shape_list.append(ParallelepipedModel) 158 self.multiplication_factor.append(ParallelepipedModel) 158 159 159 160 from sans.models.EllipticalCylinderModel import EllipticalCylinderModel 160 161 self.shape_list.append(EllipticalCylinderModel) 161 162 self.multiplication_factor.append(EllipticalCylinderModel) 163 162 164 from sans.models.EllipsoidModel import EllipsoidModel 163 165 self.shape_list.append(EllipsoidModel)
Note: See TracChangeset
for help on using the changeset viewer.