Changeset 584f474 in sasview


Ignore:
Timestamp:
Aug 11, 2011 5:13:54 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:
1c7acc7
Parents:
dab25e6
Message:

newpath for tutorials

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/scripts/local_config.py

    rff00215 r584f474  
    55import os 
    66from sans.guiframe.gui_style import GUIFRAME 
     7import sans.perspectives.fitting as fitting 
    78# Version of the application 
    89__appname__ = "SansView" 
     
    6263DATAPANEL_HEIGHT = 700 
    6364SPLASH_SCREEN_PATH = os.path.join("images","SVwelcome_mini.png") 
    64 TUTORIAL_PATH = os.path.join("media","Tutorial.pdf") 
     65try: 
     66    fit_media_path = fitting.get_data_path(media='media') 
     67    TUTORIAL_PATH = os.path.join(fit_media_path,"Tutorial.pdf") 
     68except: 
     69    raise 
    6570DEFAULT_STYLE = GUIFRAME.MULTIPLE_APPLICATIONS|GUIFRAME.MANAGER_ON\ 
    6671                    |GUIFRAME.CALCULATOR_ON|GUIFRAME.TOOLBAR_ON 
Note: See TracChangeset for help on using the changeset viewer.