Changeset fd5ac0d in sasview for src/sas/guiframe
- Timestamp:
- Feb 13, 2015 3:26:52 AM (10 years ago)
- 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
- Location:
- src/sas/guiframe
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/guiframe/CategoryInstaller.py
r79492222 rfd5ac0d 33 33 returns the dir where installed_models.txt should be 34 34 """ 35 import sas.dataloader.readers35 import sas.dataloader.readers 36 36 return sas.dataloader.readers.get_data_path() 37 37 … … 41 41 returns the dir where models.py should be 42 42 """ 43 import sas.perspectives.fitting.models43 import sas.perspectives.fitting.models 44 44 return sas.perspectives.fitting.models.get_model_python_path() 45 45 … … 52 52 # when deploying using py2app (it will be in Contents/Resources), or 53 53 # py2exe (it will be in the exec dir). 54 import sas.sansview54 import sas.sasview 55 55 cat_file = "default_categories.json" 56 56 57 57 possible_cat_file_paths = [ 58 os.path.join(os.path.split(sas.sa nsview.__file__)[0], cat_file), # Source58 os.path.join(os.path.split(sas.sasview.__file__)[0], cat_file), # Source 59 59 os.path.join(os.path.dirname(sys.executable), '..', 'Resources', cat_file), # Mac 60 60 os.path.join(os.path.dirname(sys.executable), cat_file) # Windows … … 70 70 def _get_home_dir(): 71 71 """ 72 returns the users sa nsview config dir72 returns the users sasview config dir 73 73 """ 74 74 return os.path.join(os.path.expanduser("~"), ".sasview") -
src/sas/guiframe/config.py
r79492222 rfd5ac0d 11 11 __download_page__ = 'http://sourceforge.net/projects/sasview/files/' 12 12 __update_URL__ = ['svn.code.sf.net', 13 '/p/sasview/code/trunk/sa nsview.latestversion']13 '/p/sasview/code/trunk/sasview.latestversion'] 14 14 15 15 … … 60 60 _copyright = "(c) 2008, University of Tennessee" 61 61 #edit the lists below of file state your plugin can read 62 #for sa nsview this how you can edit these lists62 #for sasview this how you can edit these lists 63 63 #PLUGIN_STATE_EXTENSIONS = ['.prv','.fitv', '.inv'] 64 64 #APPLICATION_STATE_EXTENSION = '.svs' … … 66 66 # 'Fitting files (*.fitv)|*.fitv', 67 67 # 'Invariant files (*.inv)|*.inv'] 68 #APPLICATION_WLIST = 'Sa nsView files (*.svs)|*.svs'68 #APPLICATION_WLIST = 'SasView files (*.svs)|*.svs' 69 69 APPLICATION_WLIST = '' 70 70 APPLICATION_STATE_EXTENSION = None -
src/sas/guiframe/dummyapp.py
r79492222 rfd5ac0d 101 101 "self._on_context_do_something"]] 102 102 103 class Sa nsView():103 class SasView(): 104 104 105 105 def __init__(self): … … 124 124 from multiprocessing import freeze_support 125 125 freeze_support() 126 sa nsview = SansView()126 sasview = SasView()
Note: See TracChangeset
for help on using the changeset viewer.