Ignore:
Timestamp:
Jan 14, 2013 11:19:38 AM (12 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:
fad6056
Parents:
5c2932a
Message:

cleaned up a little

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/src/sans/perspectives/calculator/gen_scatter_panel.py

    r32aba6a rcd89c6f  
    2828from sans.guiframe.events import StatusEvent   
    2929from sans.calculator import sans_gen  
    30 from calculator_widgets import OutputTextCtrl 
    31 from calculator_widgets import InputTextCtrl 
     30from sans.perspectives.calculator.calculator_widgets import OutputTextCtrl 
     31from sans.perspectives.calculator.calculator_widgets import InputTextCtrl 
    3232from wx.lib.scrolledpanel import ScrolledPanel 
    3333from sans.perspectives.calculator.load_thread import GenReader 
     
    8989        """ 
    9090        """ 
    91         CalcThread.__init__(self,completefn, 
     91        CalcThread.__init__(self, completefn, 
    9292                 updatefn, 
    9393                 yieldtime, 
     
    10641064                        return self.sld_data 
    10651065            else: 
    1066                sld_sets[list[0]]= None 
     1066               sld_sets[list[0]] = None 
    10671067        for key in sld_sets.keys(): 
    10681068            key_low = key.lower() 
     
    16111611        Init 
    16121612        """ 
    1613         kwds['size']= size 
    1614         kwds['title']= title 
     1613        kwds['size'] = size 
     1614        kwds['title'] = title 
    16151615         
    16161616        wx.Frame.__init__(self, parent, *args, **kwds) 
     
    16451645        save_bmp = wx.ArtProvider.GetBitmap(wx.ART_FILE_SAVE_AS, wx.ART_TOOLBAR, 
    16461646                                            tsize) 
    1647         close_bmp= wx.ArtProvider.GetBitmap(wx.ART_QUIT, wx.ART_TOOLBAR,  
     1647        close_bmp = wx.ArtProvider.GetBitmap(wx.ART_QUIT, wx.ART_TOOLBAR,  
    16481648                                            tsize) 
    1649         help_bmp= wx.ArtProvider.GetBitmap(wx.ART_HELP, wx.ART_TOOLBAR,  
     1649        help_bmp = wx.ArtProvider.GetBitmap(wx.ART_HELP, wx.ART_TOOLBAR,  
    16501650                                           (17, 20)) 
    16511651         
     
    16801680        save_bmp = wx.ArtProvider.GetBitmap(wx.ART_FILE_SAVE_AS, wx.ART_TOOLBAR, 
    16811681                                            tsize) 
    1682         quit_bmp= wx.ArtProvider.GetBitmap(wx.ART_QUIT, wx.ART_TOOLBAR,  
     1682        quit_bmp = wx.ArtProvider.GetBitmap(wx.ART_QUIT, wx.ART_TOOLBAR,  
    16831683                                           tsize) 
    1684         help_bmp= wx.ArtProvider.GetBitmap(wx.ART_HELP, wx.ART_TOOLBAR,  
     1684        help_bmp = wx.ArtProvider.GetBitmap(wx.ART_HELP, wx.ART_TOOLBAR,  
    16851685                                           (13, 15)) 
    16861686         
     
    18911891        Gen scatter angle help panel 
    18921892        """ 
    1893         from help_panel import  HelpWindow 
     1893        from sans.perspectives.calculator.help_panel import  HelpWindow 
    18941894        # Get models help model_function path 
    18951895        import sans.perspectives.calculator as calmedia 
     
    19131913if __name__ == "__main__":  
    19141914    app = wx.PySimpleApp() 
    1915     frame = SasGenWindow()     
    1916     frame.Show(True) 
     1915    SGframe = SasGenWindow()     
     1916    SGframe.Show(True) 
    19171917    app.MainLoop()      
Note: See TracChangeset for help on using the changeset viewer.