Changeset ae3e17e in sasview
- Timestamp:
- Aug 5, 2011 6:49:46 PM (14 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:
- 814524b
- Parents:
- 17175ad
- Location:
- calculatorview
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/sansviewtool.py
r17175ad rae3e17e 16 16 import local_config 17 17 import logging 18 18 import sys 19 19 class SansViewToolApp(gui_manager.ViewApp): 20 20 """ … … 43 43 try: 44 44 import sans.perspectives.calculator as module 45 calculator_plug = module.Plugin(standalone= False)45 calculator_plug = module.Plugin(standalone=True) 46 46 self.gui.add_perspective(calculator_plug) 47 47 except: 48 48 logging.error("SansView: could not find Calculator plug-in module") 49 49 logging.error(sys.exc_value) 50 50 51 51 52 52 # Build the GUI -
calculatorview/setup_exe.py
r3be3a80 rae3e17e 94 94 if os.path.split(f)[0].count('.svn')==0: 95 95 data_files.append((os.path.split(f)[0], [f])) 96 96 import sans.guiframe as guiframe 97 data_files += guiframe.data_files() 97 98 # Copy the settings file for the DataLoader file extension associations 98 99 import DataLoader.readers … … 100 101 if os.path.isfile(f): 101 102 data_files.append(('.', [f])) 102 103 f = 'custom_config.py' 104 if os.path.isfile(f): 105 data_files.append(('.', [f])) 103 106 104 107 # Copying the HTML help docs
Note: See TracChangeset
for help on using the changeset viewer.