Changeset b12404e in sasview for src/sas/qtgui/MainWindow
- Timestamp:
- May 16, 2018 5:41:14 AM (7 years ago)
- Branches:
- ESS_GUI, 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:
- 2e27cdb6
- Parents:
- d3b57a0 (diff), 2f539b2 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/GuiManager.py
rfa05c6c1 rc889a3e 65 65 # Add signal callbacks 66 66 self.addCallbacks() 67 68 # Assure model categories are available 69 self.addCategories() 67 70 68 71 # Create the data manager … … 142 145 self.ResolutionCalculator = ResolutionCalculatorPanel(self) 143 146 self.DataOperation = DataOperationUtilityPanel(self) 147 148 def addCategories(self): 149 """ 150 Make sure categories.json exists and if not compile it and install in ~/.sasview 151 """ 152 try: 153 from sas.sascalc.fit.models import ModelManager 154 from sas.qtgui.Utilities.CategoryInstaller import CategoryInstaller 155 model_list = ModelManager().cat_model_list() 156 CategoryInstaller.check_install(model_list=model_list) 157 except Exception: 158 logger.error("%s: could not load SasView models") 159 logger.error(traceback.format_exc()) 144 160 145 161 def statusBarSetup(self):
Note: See TracChangeset
for help on using the changeset viewer.