Changeset 2c627ad in sasview for sasview


Ignore:
Timestamp:
Aug 11, 2016 6:19:11 AM (8 years ago)
Author:
lewis
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
a47d0c8
Parents:
5a3c1f0 (diff), 713cc1c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into corfunc

Location:
sasview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasview/__init__.py

    r8ca1ba1 r801a296  
    33try: 
    44    import subprocess 
    5     git_revision = subprocess.check_output(['git', 'rev-parse', 'HEAD']) 
     5    import os 
     6    FNULL = open(os.devnull, 'w') 
     7    git_revision = subprocess.check_output(['git', 'rev-parse', 'HEAD'], 
     8                    stderr=FNULL, 
     9                    shell=True) 
    610    __build__ = str(git_revision).strip() 
    711except: 
  • sasview/sasview.py

    r1be5202 rc23f303  
    8181#Always use private .matplotlib setup to avoid conflicts with other 
    8282#uses of matplotlib 
    83 #Have to check if .sasview exists first  
     83#Have to check if .sasview exists first 
    8484sasdir = os.path.join(os.path.expanduser("~"),'.sasview') 
    8585if not os.path.exists(sasdir): 
     
    119119        # Fitting perspective 
    120120        try: 
    121             import sas.sasgui.perspectives.fitting as module     
     121            import sas.sasgui.perspectives.fitting as module 
    122122            fitting_plug = module.Plugin() 
    123123            self.gui.add_perspective(fitting_plug) 
     
    145145            logging.error(traceback.format_exc()) 
    146146 
    147         #Calculator perspective    
     147        # Corfunc perspective 
     148        try: 
     149            import sas.sasgui.perspectives.corfunc as module 
     150            corfunc_plug = module.Plugin() 
     151            self.gui.add_perspective(corfunc_plug) 
     152        except: 
     153            logging.error("Unable to load corfunc module") 
     154 
     155        #Calculator perspective 
    148156        try: 
    149157            import sas.sasgui.perspectives.calculator as module 
     
    191199if __name__ == "__main__": 
    192200    run() 
    193  
Note: See TracChangeset for help on using the changeset viewer.