Changeset bb1e07a in sasview
- Timestamp:
- Feb 3, 2009 2:26:49 PM (16 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:
- 44999f3
- Parents:
- 7a0fb4e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/modelpage.py
re5af88b rbb1e07a 36 36 self.model=model 37 37 #list of dispersion paramaters 38 self.disp_list=self.model.getDispParamList() 38 self.disp_list=[] 39 try: 40 self.disp_list=self.model.getDispParamList() 41 except: 42 pass 39 43 self.manager = None 40 44 self.parent = parent … … 264 268 return 265 269 else: 266 if self.data !=None : # allow to recognize data panel from model panel270 if self.data !=None and self.model !=None: # allow to recognize data panel from model panel 267 271 self.cb1.SetValue(False) 268 272 self.select_all_param_helper() 269 273 270 self.populate_disp_box()271 self.set_panel_dispers(self.disp_list)274 self.populate_disp_box() 275 self.set_panel_dispers(self.disp_list) 272 276 273 277 else: 274 if self.data !=None :278 if self.data !=None and self.model!=None: 275 279 if self.cb1.GetValue(): 276 280 self.select_all_param_helper()
Note: See TracChangeset
for help on using the changeset viewer.