Changeset 420cbdd in sasview for sansview/perspectives


Ignore:
Timestamp:
Feb 12, 2010 10:14:19 AM (15 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:
fb0d7a20
Parents:
89b0a92
Message:

remove sld_panel from fitting

Location:
sansview/perspectives/fitting
Files:
1 deleted
1 edited

Legend:

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

    r1610976 r420cbdd  
    528528            Compute the scattering length density of molecula 
    529529        """   
    530         
    531         import  sld_panel  
    532         frame = sld_panel.SldWindow(base=self.parent) 
     530        try: 
     531            import sans.perspectives.calculator as sld 
     532        except: 
     533            msg= "Couldn't import Sld module" 
     534            wx.PostEvent(self.parent, StatusEvent(status= msg)) 
     535            return  
     536        frame = sld.sld_panel.SldWindow(base=self.parent) 
    533537        frame.Show(True)  
    534538       
Note: See TracChangeset for help on using the changeset viewer.