Changeset 334c50d in sasview for sansview


Ignore:
Timestamp:
Apr 5, 2013 3:57:34 PM (11 years ago)
Author:
Anders Markvardsen <anders.markvardsen@…>
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:
a9fec15
Parents:
846f890
Message:

A few more steps towards getting corfunc perspective to show up.

Currently the error message is:

'module' object has no attribute 'Plugin'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/sansview.py

    rea5fa58 r334c50d  
    103103                                                        APP_NAME) 
    104104            logging.error(sys.exc_value)   
    105  
     105         
     106        #Corfunc perspective    
     107        try: 
     108            import sans.perspectives.corfunc as module     
     109            corfunc_plug = module.Plugin(standalone=False) 
     110            self.gui.add_perspective(corfunc_plug) 
     111        except: 
     112            logging.error("%s: could not find Corfunc plug-in module"% \ 
     113                                                        APP_NAME) 
     114            logging.error(sys.exc_value)   
    106115         
    107116             
Note: See TracChangeset for help on using the changeset viewer.