Changeset 1c8015f in sasview
- Timestamp:
- May 26, 2009 8:48:45 PM (16 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:
- 09a87ae
- Parents:
- d2ee6f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/sansview.py
r8554ede r1c8015f 5 5 # For py2exe, import config here 6 6 import local_config 7 import logging 7 8 8 9 … … 22 23 # modules. We load the fitting module here 23 24 # to ensure a complete Windows executable build. 24 import perspectives.pr as module 25 fitting_plug = module.Plugin() 26 self.gui.add_perspective(fitting_plug) 25 26 # P(r) perspective 27 try: 28 import sans.perspectives.pr as module 29 fitting_plug = module.Plugin(standalone=False) 30 self.gui.add_perspective(fitting_plug) 31 except: 32 logging.error("SansView: could not find P(r) plug-in module") 33 34 # Fitting perspective 27 35 import perspectives.fitting as module 28 36 fitting_plug = module.Plugin() 29 37 self.gui.add_perspective(fitting_plug) 38 30 39 # Build the GUI 31 40 self.gui.build_gui()
Note: See TracChangeset
for help on using the changeset viewer.