Changeset 0de74af in sasview
- Timestamp:
- Dec 20, 2016 10:05:17 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, 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:
- 9e0aa69a
- Parents:
- ca224b1
- Location:
- src/sas
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/data_util/calcthread.py
r7ede832 r0de74af 255 255 # thread when the queue is empty and start a new thread when 256 256 # there is more work to be done. 257 errors = 0258 257 while 1: 259 258 self._lock.acquire() … … 271 270 pass 272 271 except: 273 errors += 1 274 if errors > 0: 275 self.exception() 272 self.exception() 276 273 self._running = False 277 274 -
src/sas/sasgui/perspectives/fitting/basepage.py
r8aec639 r0de74af 1167 1167 self.categorybox.Select(category_pos) 1168 1168 self._show_combox(None) 1169 from models import PLUGIN_NAME_BASE 1169 1170 if self.categorybox.GetValue() == 'Customized Models' \ 1170 and '[plug-in]'not in state.formfactorcombobox:1171 and PLUGIN_NAME_BASE not in state.formfactorcombobox: 1171 1172 state.formfactorcombobox = \ 1172 '[plug-in] '+ state.formfactorcombobox1173 PLUGIN_NAME_BASE + state.formfactorcombobox 1173 1174 formfactor_pos = 0 1174 1175 for ind_form in range(self.formfactorbox.GetCount()): -
src/sas/sasgui/perspectives/fitting/models.py
r313c5c9 r0de74af 23 23 PLUGIN_LOG = os.path.join(os.path.expanduser("~"), '.sasview', PLUGIN_DIR, 24 24 "plugins.log") 25 PLUGIN_NAME_BASE = '[plug-in] ' 25 26 26 27 def get_model_python_path(): … … 181 182 try: 182 183 model = load_custom_model(path) 183 model.name = "[plug-in] "+model.name184 model.name = PLUGIN_NAME_BASE + model.name 184 185 plugins[model.name] = model 185 186 except Exception: -
src/sas/sasgui/perspectives/fitting/pagestate.py
rca224b1 r0de74af 359 359 def _old_first_model(self): 360 360 """ 361 A check to see if the loaded save state was saved in SasView v4_0+ 361 Handle save states from 4.0.1 and before where the first item in the 362 selection boxes of category, formfactor and structurefactor were not 363 saved. 362 364 :return: None 363 365 """
Note: See TracChangeset
for help on using the changeset viewer.