Changeset 8182fbb in sasview for sansguiframe


Ignore:
Timestamp:
May 29, 2012 5:54:15 PM (13 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:
2b9d0d5
Parents:
38226d26
Message:

working on pylint score

Location:
sansguiframe/src/sans/guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/config.py

    reaa85e7 r8182fbb  
    77# Version of the application 
    88__appname__ = "DummyView" 
    9 __version__ = '0.1.0' 
    10 __download_page__ = 'http://danse.chem.utk.edu' 
     9__version__ = '0.0.0' 
     10__download_page__ = 'https://sourceforge.net/projects/sansviewproject/files/' 
     11__update_URL__ = 'http://sansviewproject.svn.sourceforge.net/viewvc/sansviewproject/trunk/sansview.latestversion' 
    1112 
    1213 
  • sansguiframe/src/sans/guiframe/gui_manager.py

    r940aca7 r8182fbb  
    194194    IS_WIN = False 
    195195    TIME_FACTOR = 2 
    196     if int(wx.__version__.split('.')[0]) == 2: 
    197         if int(wx.__version__.split('.')[1]) < 9: 
     196    if int(str(wx.__version__).split('.')[0]) == 2: 
     197        if int(str(wx.__version__).split('.')[1]) < 9: 
    198198            CLOSE_SHOW = False 
    199199     
     
    831831                        continue 
    832832                    path = [os.path.abspath(dir)] 
    833                     file = '' 
     833                    file = None 
    834834                    try: 
    835835                        if toks[1] == '': 
     
    17871787                if self._data_panel is not None and \ 
    17881788                            ID in self.plot_panels.keys(): 
    1789                     self._data_panel.cb_plotpanel.Append(str(caption), p) 
     1789                    self._data_panel.cb_plotpanel.Append(str(caption),  
     1790                                                         self.panels[ID]) 
    17901791                # Do not Hide default panel here... 
    17911792                #self._mgr.GetPane(self.panels["default"].window_name).Hide() 
     
    18531854            log_msg += "Try Data opening...." 
    18541855            logging.info(log_msg) 
    1855             self.load_complete(output=output, error_message=error_message, 
    1856                    message=log_msg, path=path)     
     1856            print log_msg 
     1857            #self.load_complete(output=output, error_message=error_message, 
     1858            #       message=log_msg, path=path)     
    18571859            return 
    18581860         
     
    32083210        drag  
    32093211        """ 
    3210         if self.cpanel_on_focus is not None: 
    3211             self._toolbar.enable_drag(self.panel_on_focus) 
     3212        #if self.cpanel_on_focus is not None: 
     3213        #    self._toolbar.enable_drag(self.panel_on_focus) 
    32123214             
    32133215    def enable_reset(self): 
     
    34173419            self.frame.Show() 
    34183420  
    3419         if hasattr(self.frame, 'special'): 
    3420             self.frame.special.SetCurrent() 
     3421        #if hasattr(self.frame, 'special'): 
     3422        #    self.frame.special.SetCurrent() 
    34213423        self.SetTopWindow(self.frame) 
    34223424   
Note: See TracChangeset for help on using the changeset viewer.