Changeset 4d6cce0 in sasview
- Timestamp:
- Feb 26, 2010 5:16:09 PM (15 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:
- 56f8401
- Parents:
- b324aa9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/sansview.py
r89b0a92 r4d6cce0 50 50 # modules. We load the fitting module here 51 51 # to ensure a complete Windows executable build. 52 52 53 53 # P(r) perspective 54 54 try: 55 55 import sans.perspectives.pr as module 56 self.fitting_plug = module.Plugin(standalone=False)57 self.gui.add_perspective( self.fitting_plug)56 pr_plug = module.Plugin(standalone=False) 57 self.gui.add_perspective(pr_plug) 58 58 except: 59 59 logging.error("SansView: could not find P(r) plug-in module") 60 60 61 #Invariant perspective 62 try: 63 import sans.perspectives.invariant as module 64 invariant_plug = module.Plugin(standalone=False) 65 self.gui.add_perspective(invariant_plug) 66 except: 67 logging.error("SansView: could not find Invariant plug-in module") 68 61 69 #Calculator perspective 62 70 try: … … 75 83 raise 76 84 #logging.error("SansView: could not find theory plug-in module") 77 # Fitting perspective78 import perspectives.fitting as module79 self.fitting_plug = module.Plugin()80 self.gui.add_perspective(self.fitting_plug)81 85 # Fitting perspective 86 import perspectives.fitting as module 87 fitting_plug = module.Plugin() 88 self.gui.add_perspective(fitting_plug) 89 82 90 # Add welcome page 83 91 self.gui.set_welcome_panel(WelcomePanel)
Note: See TracChangeset
for help on using the changeset viewer.