Changeset fd5ac0d in sasview for src/sas/guiframe


Ignore:
Timestamp:
Feb 13, 2015 3:26:52 AM (10 years ago)
Author:
krzywon
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:
7a04dbb
Parents:
b9a5f0e
Message:

I have completed the removal of all SANS references.
I will build, run, and run all unit tests before pushing.

Location:
src/sas/guiframe
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/sas/guiframe/CategoryInstaller.py

    r79492222 rfd5ac0d  
    3333        returns the dir where installed_models.txt should be 
    3434        """ 
    35 import sas.dataloader.readers 
     35        import sas.dataloader.readers 
    3636        return sas.dataloader.readers.get_data_path() 
    3737 
     
    4141        returns the dir where models.py should be 
    4242        """ 
    43 import sas.perspectives.fitting.models 
     43        import sas.perspectives.fitting.models 
    4444        return sas.perspectives.fitting.models.get_model_python_path() 
    4545     
     
    5252        # when deploying using py2app (it will be in Contents/Resources), or 
    5353        # py2exe (it will be in the exec dir). 
    54 import sas.sansview 
     54        import sas.sasview 
    5555        cat_file = "default_categories.json" 
    5656         
    5757        possible_cat_file_paths = [ 
    58             os.path.join(os.path.split(sas.sansview.__file__)[0], cat_file),           # Source 
     58            os.path.join(os.path.split(sas.sasview.__file__)[0], cat_file),           # Source 
    5959            os.path.join(os.path.dirname(sys.executable), '..', 'Resources', cat_file), # Mac 
    6060            os.path.join(os.path.dirname(sys.executable), cat_file)                     # Windows 
     
    7070    def _get_home_dir(): 
    7171        """ 
    72         returns the users sansview config dir 
     72        returns the users sasview config dir 
    7373        """ 
    7474        return os.path.join(os.path.expanduser("~"), ".sasview") 
  • src/sas/guiframe/config.py

    r79492222 rfd5ac0d  
    1111__download_page__ = 'http://sourceforge.net/projects/sasview/files/' 
    1212__update_URL__ = ['svn.code.sf.net',  
    13                   '/p/sasview/code/trunk/sansview.latestversion'] 
     13                  '/p/sasview/code/trunk/sasview.latestversion'] 
    1414 
    1515 
     
    6060_copyright = "(c) 2008, University of Tennessee" 
    6161#edit the lists below of file state your plugin can read 
    62 #for sansview this how you can edit these lists 
     62#for sasview this how you can edit these lists 
    6363#PLUGIN_STATE_EXTENSIONS = ['.prv','.fitv', '.inv'] 
    6464#APPLICATION_STATE_EXTENSION = '.svs' 
     
    6666#                  'Fitting files (*.fitv)|*.fitv', 
    6767#                  'Invariant files (*.inv)|*.inv'] 
    68 #APPLICATION_WLIST = 'SansView files (*.svs)|*.svs' 
     68#APPLICATION_WLIST = 'SasView files (*.svs)|*.svs' 
    6969APPLICATION_WLIST = '' 
    7070APPLICATION_STATE_EXTENSION = None 
  • src/sas/guiframe/dummyapp.py

    r79492222 rfd5ac0d  
    101101                 "self._on_context_do_something"]]    
    102102 
    103 class SansView(): 
     103class SasView(): 
    104104     
    105105    def __init__(self): 
     
    124124    from multiprocessing import freeze_support 
    125125    freeze_support() 
    126     sansview = SansView() 
     126    sasview = SasView() 
Note: See TracChangeset for help on using the changeset viewer.