Changeset 73c200a in sasview
- Timestamp:
- Mar 30, 2011 1:29:11 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:
- 1c95d15
- Parents:
- cd0d039
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/sansview.py
r3b72b36 r73c200a 28 28 import logging 29 29 30 # Application dimensions31 APP_HEIGHT = 82032 APP_WIDTH = 105033 GSTYLE = GUIFRAME.MULTIPLE_APPLICATIONS|GUIFRAME.TOOL_ON34 30 35 31 class SansViewApp(gui_manager.ViewApp): … … 76 72 self.gui.add_perspective(invariant_plug) 77 73 except: 78 raise 79 #logging.error("SansView: could not find Invariant plug-in module") 80 #logging.error(sys.exc_value) 74 logging.error("SansView: could not find Invariant plug-in module") 75 logging.error(sys.exc_value) 81 76 82 77 #Calculator perspective … … 88 83 logging.error("SansView: could not find Calculator plug-in module") 89 84 logging.error(sys.exc_value) 90 91 """ 92 # theory perspective 93 try: 94 import sans.perspectives.theory as module 95 theory_plug = module.Plugin(standalone=False) 96 self.gui.add_perspective(theory_plug) 97 except: 98 logging.error("SansView: could not find theory plug-in module") 99 logging.error(sys.exc_value) 100 """ 101 102 # Fitting perspective 103 import perspectives.fitting as module 104 fitting_plug = module.Plugin() 105 self.gui.add_perspective(fitting_plug) 106 85 107 86 # Add welcome page 108 87 self.gui.set_welcome_panel(WelcomePanel)
Note: See TracChangeset
for help on using the changeset viewer.