Changeset 6af5d75 in sasview
- Timestamp:
- Oct 25, 2018 10:08:00 AM (6 years ago)
- Branches:
- unittest-saveload
- Children:
- 0863065
- Parents:
- 08f921e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasview/sasview.py
r1270e3c r6af5d75 36 36 Main class for running the SasView application 37 37 """ 38 def __init__(self ):38 def __init__(self, threaded=False): 39 39 """ 40 40 """ … … 129 129 # delete unused model folder 130 130 self.gui.clean_plugin_models(PLUGIN_MODEL_DIR) 131 # Start the main loop 132 self.gui.MainLoop() 131 if not threaded: 132 # Start the main loop 133 self.gui.MainLoop() 133 134 134 135 def check_sasmodels_compiler(self): … … 264 265 os.environ["SAS_OPENCL"] = SAS_OPENCL 265 266 266 def run_gui(): 267 268 def run_gui(threaded=False): 267 269 """ 268 270 __main__ method for loading and running SasView … … 274 276 setup_sasmodels() 275 277 setup_wx() 276 SasView() 278 app = SasView(threaded=threaded) 279 return app 277 280 278 281
Note: See TracChangeset
for help on using the changeset viewer.