Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/gpu_options.py
r755ecb0 r4320104 9 9 10 10 import os 11 import sys 11 12 import warnings 12 13 import wx … … 25 26 26 27 self.text = wx.TextCtrl(self, -1, size=(500, 400), 27 style=wx.TE_MULTILINE|wx.TE_READONLY 28 |wx.SUNKEN_BORDER) 28 style=wx.TE_MULTILINE|wx.TE_READONLY) 29 29 self.text.SetValue(msg) 30 30 self.text.SetBackgroundColour(self.GetBackgroundColour()) … … 214 214 215 215 #Sasmodels kernelcl doesn't exist when initiated with None 216 try:216 if 'sasmodels.kernelcl' in sys.modules: 217 217 sasmodels.kernelcl.ENV = None 218 except: 219 #TODO: Need to provide reasonable exception case 220 pass 221 222 #Need to reload sasmodels.core module to account SAS_OPENCL = "None" 218 223 219 reload(sasmodels.core) 224 220 event.Skip() … … 253 249 254 250 #Sasmodels kernelcl doesn't exist when initiated with None 255 try:251 if 'sasmodels.kernelcl' in sys.modules: 256 252 sasmodels.kernelcl.ENV = None 257 except: 258 #TODO: Need to provide reasonable exception case 259 pass 253 260 254 261 255 #Need to reload sasmodels.core module to account SAS_OPENCL = "None"
Note: See TracChangeset
for help on using the changeset viewer.