Changeset c35e6901 in sasview


Ignore:
Timestamp:
Sep 20, 2012 2:37:53 PM (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:
4f973f3
Parents:
ae4c139
Message:

Working on cat path for standalone

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/basepage.py

    rae4c139 rc35e6901  
    1111import string 
    1212import cPickle as pickle 
    13 import shutil 
     13#import shutil 
    1414from collections import defaultdict 
    1515from wx.lib.scrolledpanel import ScrolledPanel 
  • sansguiframe/src/sans/guiframe/CategoryInstaller.py

    rea5fa58 rc35e6901  
    1010 
    1111import os 
     12import sys 
    1213import shutil 
    1314import cPickle as pickle 
     
    4748        returns the dir where default_cat.p should be 
    4849        """ 
    49         from sans import sansview as sasview 
    50         app_path = os.path.dirname(sasview.__file__) 
     50        app_path = sys.path[0] 
    5151        return app_path 
    5252 
  • sansguiframe/src/sans/guiframe/gui_manager.py

    rdf7a7e3 rc35e6901  
    14181418         
    14191419    def _on_category_manager(self, event): 
    1420         CategoryManager(self, -1, 'Model Category Manager') 
     1420        """ 
     1421        Category manager frame 
     1422        """ 
     1423        frame = CategoryManager(self, -1, 'Model Category Manager') 
     1424        icon = self.GetIcon() 
     1425        frame.SetIcon(icon) 
    14211426 
    14221427    def _on_preference_menu(self, event):      
Note: See TracChangeset for help on using the changeset viewer.