Changeset 53ddcdb in sasview


Ignore:
Timestamp:
Nov 15, 2010 11:37:56 AM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
6996942
Parents:
0aee80d
Message:

make sure there is args for neutron_scattering method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/perspectives/calculator/sld_panel.py

    r44148f0 r53ddcdb  
    374374                 
    375375                (sld_real, sld_im, _), (_, absorp, incoh), \ 
    376                             length = neutron_scattering(self.compound, 
    377                                        self.density, self.wavelength)  
     376                            length = neutron_scattering(compound=self.compound, 
     377                                       density=self.density,  
     378                                       wavelength=self.wavelength)  
    378379                cu_real, cu_im = self.calculate_sld_helper(element="Cu", 
    379380                                                     density=self.density, 
     
    403404                self.wavelength_ctl.SetValue(str(self.wavelength)) 
    404405        except: 
     406            raise 
     407            """ 
    405408            if self.base is not None: 
    406409                msg = "SLD Calculator: %s"%(sys.exc_value) 
     
    409412                raise 
    410413            return    
     414            """ 
    411415        if event is not None: 
    412416            event.Skip() 
Note: See TracChangeset for help on using the changeset viewer.