Ignore:
Timestamp:
Sep 17, 2009 9:49:25 AM (15 years ago)
Author:
Jae Cho <jhjcho@…>
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:
b2f4f83
Parents:
f8b79d6
Message:

fixed park fit w/ polydispersion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/basepage.py

    rf5dadd5 r920a6e5  
    294294            name = str(key) 
    295295            self.disp_box.Append(name,value) 
    296          
    297296        self.disp_box.SetStringSelection("gaussian")  
    298297        wx.EVT_COMBOBOX(self.disp_box,-1, self._on_select_Disp)  
     
    14171416       
    14181417            return 
    1419              
     1418        #remove previous added details for dispersion parameters. 
     1419        for item in self.model.details.keys(): 
     1420            if item in self.model.fixed: 
     1421                del self.model.details [item]                            
     1422     
    14201423        if self.enable_disp.GetValue(): 
    14211424            self.model_disp.Show(True) 
     
    15631566                if item in self.param_toFit: 
    15641567                    self.param_toFit.remove(item) 
    1565                    
     1568        for item in self.model.details.keys(): 
     1569            if item in self.model.fixed: 
     1570                del self.model.details [item]                            
    15661571 
    15671572        self.fittable_param=[] 
Note: See TracChangeset for help on using the changeset viewer.