Changeset c89e649 in sasview for sasview/sasview.py
- Timestamp:
- Sep 15, 2016 6:33:57 AM (8 years ago)
- Branches:
- 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
- Children:
- 2a08cb6
- Parents:
- 4762f09
- git-author:
- Lewis O'Driscoll <lewis.o'driscoll@…> (08/17/16 05:19:02)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (09/15/16 06:33:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/sasview.py
r1be5202 rc89e649 81 81 #Always use private .matplotlib setup to avoid conflicts with other 82 82 #uses of matplotlib 83 #Have to check if .sasview exists first 83 #Have to check if .sasview exists first 84 84 sasdir = os.path.join(os.path.expanduser("~"),'.sasview') 85 85 if not os.path.exists(sasdir): … … 98 98 PLUGIN_MODEL_DIR = 'plugin_models' 99 99 APP_NAME = 'SasView' 100 101 from matplotlib import backend_bases 102 backend_bases._default_filetypes.pop('pgf', None) 100 103 101 104 class SasView(): … … 119 122 # Fitting perspective 120 123 try: 121 import sas.sasgui.perspectives.fitting as module 124 import sas.sasgui.perspectives.fitting as module 122 125 fitting_plug = module.Plugin() 123 126 self.gui.add_perspective(fitting_plug) … … 145 148 logging.error(traceback.format_exc()) 146 149 147 #Calculator perspective 150 #Calculator perspective 148 151 try: 149 152 import sas.sasgui.perspectives.calculator as module … … 191 194 if __name__ == "__main__": 192 195 run() 193
Note: See TracChangeset
for help on using the changeset viewer.