Changeset 9706d88 in sasview for src/sas/sascalc/fit/models.py
- Timestamp:
- Sep 22, 2017 12:21:37 PM (7 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:
- d3b0c77, 574adc7
- Parents:
- ab0b93f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/fit/models.py
r69363c7 r9706d88 95 95 path = os.path.join(os.path.expanduser("~"), '.sasview', PLUGIN_DIR) 96 96 97 # TODO: initializing ~/.sasview/plugin_models doesn't belong in sascalc97 # TODO: trigger initialization of plugins dir from installer or startup 98 98 # If the plugin directory doesn't exist, create it 99 99 if not os.path.isdir(path): 100 100 os.makedirs(path) 101 101 # TODO: should we be checking for new default models every time? 102 initialize_plugins_dir(path) 102 # TODO: restore support for default plugins 103 #initialize_plugins_dir(path) 103 104 return path 104 105 … … 106 107 def initialize_plugins_dir(path): 107 108 # TODO: There are no default plugins 109 # TODO: Default plugins directory is in sasgui, but models.py is in sascalc 108 110 # TODO: Move default plugins beside sample data files 109 111 # TODO: Should not look for defaults above the root of the sasview install
Note: See TracChangeset
for help on using the changeset viewer.