Changeset efe730d in sasview for src/sas/sasgui/perspectives
- Timestamp:
- Jun 25, 2016 2:07:33 AM (8 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 899e084
- Parents:
- 9501661
- git-author:
- Paul Kienzle <pkienzle@…> (06/25/16 00:23:59)
- git-committer:
- Paul Kienzle <pkienzle@…> (06/25/16 02:07:33)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/models.py
r7673ecd refe730d 12 12 import py_compile 13 13 import shutil 14 from sasmodels.sasview_model import load_custom_model, load_standard_models 14 15 # Explicitly import from the pluginmodel module so that py2exe 15 16 # places it in the distribution. The Model1DPlugin class is used 16 17 # as the base class of plug-in models. 18 from sas.sasgui import get_user_dir 17 19 from sas.sascalc.fit.pluginmodel import Model1DPlugin 18 20 from sas.sasgui.guiframe.CategoryInstaller import CategoryInstaller 19 from sasmodels.sasview_model import load_custom_model, load_standard_models20 21 21 22 22 23 PLUGIN_DIR = 'plugin_models' 23 PLUGIN_LOG = os.path.join(os.path.expanduser("~"), '.sasview', PLUGIN_DIR, 24 "plugins.log") 24 PLUGIN_LOG = os.path.join(get_user_dir(), PLUGIN_DIR, "plugins.log") 25 25 26 26 def get_model_python_path():
Note: See TracChangeset
for help on using the changeset viewer.