Changeset 0b709f2c in sasview
- Timestamp:
- Mar 20, 2016 11:55:05 AM (9 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:
- 50008e3, 9e531f2
- Parents:
- 54a2c927 (diff), f718919 (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. - Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/sasview.py
rd85c194 r558d64e 79 79 #wxcruft.trace_new_id() 80 80 81 # The below will make sure that sasview application uses the matplotlib font 82 # bundled with sasview. 83 if hasattr(sys, 'frozen'): 84 mplconfigdir = os.path.join(os.path.expanduser("~"), '.matplotlib') 85 if not os.path.exists(mplconfigdir): 86 os.mkdir(mplconfigdir) 87 os.environ['MPLCONFIGDIR'] = mplconfigdir 88 reload(sys) 89 sys.setdefaultencoding("iso-8859-1") 81 #Always use private .matplotlib setup to avoid conflicts with other 82 #uses of matplotlib 83 mplconfigdir = os.path.join(os.path.expanduser("~"),'.sasview','.matplotlib') 84 if not os.path.exists(mplconfigdir): 85 os.mkdir(mplconfigdir) 86 os.environ['MPLCONFIGDIR'] = mplconfigdir 87 reload(sys) 88 sys.setdefaultencoding("iso-8859-1") 90 89 from sas.sasgui.guiframe import gui_manager 91 90 from sas.sasgui.guiframe.gui_style import GUIFRAME -
src/sas/sasgui/guiframe/CategoryInstaller.py
rd85c194 r1ca0ac0 176 176 json.dump( master_category_dict, 177 177 open(serialized_file, 'wb') ) 178 179 try:180 #It happens only in source environment181 shutil.copyfile(serialized_file, default_file)182 except:183 pass184
Note: See TracChangeset
for help on using the changeset viewer.