Changeset b39debba in sasview for src/sas/sasgui/guiframe


Ignore:
Timestamp:
Jan 2, 2017 3:10:13 AM (8 years ago)
Author:
wojciech
Children:
25594ca
Parents:
6c6aa83 (diff), c1681ea (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.
Message:

Merged with master

Location:
src/sas/sasgui/guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/gui_manager.py

    r62243ae rb39debba  
    19951995                wx.PostEvent(self, 
    19961996                             StatusEvent(status="Completed saving.")) 
    1997             except: 
     1997            except Exception: 
    19981998                msg = "Error occurred while saving: " 
     1999                msg += traceback.format_exc() 
    19992000                msg += "To save, the application panel should have a data set.." 
    20002001                wx.PostEvent(self, StatusEvent(status=msg)) 
     
    20452046                logging.warning(msg) 
    20462047                wx.PostEvent(self, StatusEvent(status=msg, info="error")) 
    2047         except: 
     2048        except Exception: 
    20482049            msg = "Error occurred while saving: " 
     2050            msg += traceback.format_exc() 
    20492051            msg += "To save, at least one application panel " 
    20502052            msg += "should have a data set.." 
  • src/sas/sasgui/guiframe/startup_configuration.py

    rd85c194 r62243ae  
    3131                   'CLEANUP_PLOT':False, 
    3232                   'DEFAULT_PERSPECTIVE':'Fitting', 
    33                    'DEFAULT_OPEN_FOLDER': None} 
     33                   'DEFAULT_OPEN_FOLDER': None, 
     34                   'SAS_OPENCL': None} 
    3435try: 
    3536    CURRENT_STRINGS = {'GUIFRAME_WIDTH':CURRENT.GUIFRAME_WIDTH, 
     
    4546                       'CLEANUP_PLOT':CURRENT.CLEANUP_PLOT, 
    4647                       'DEFAULT_PERSPECTIVE':CURRENT.DEFAULT_PERSPECTIVE, 
    47                        'DEFAULT_OPEN_FOLDER':CURRENT.DEFAULT_OPEN_FOLDER} 
     48                       'DEFAULT_OPEN_FOLDER':CURRENT.DEFAULT_OPEN_FOLDER, 
     49                       'SAS_OPENCL': None} 
    4850except: 
    4951    CURRENT_STRINGS = DEFAULT_STRINGS 
Note: See TracChangeset for help on using the changeset viewer.