Ignore:
Timestamp:
Nov 15, 2017 4:33:09 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
d4881f6a
Parents:
7c487846
Message:

Initial commit of the P(r) inversion perspective.
Code merged from Jeff Krzywon's ESS_GUI_Pr branch.
Also, minor 2to3 mods to sascalc/sasgui to enble error free setup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter1D.py

    rc416a17 rfa81e94  
    475475            try: 
    476476                self._onEVT_FUNC_PROPERTY() 
    477             except Exception, exc: 
     477            except (Exception, exc): 
    478478                wx.PostEvent(self.parent, 
    479479                             StatusEvent(status="Plotting Error: %s" % str(exc), info="error")) 
     
    492492                    # MAC: forcing to plot 2D avg 
    493493                    self.canvas._onDrawIdle() 
    494             except Exception, exc: 
     494            except (Exception, exc): 
    495495                wx.PostEvent(self.parent, StatusEvent(status=\ 
    496496                    "Plotting Error: %s" % str(exc), info="error")) 
Note: See TracChangeset for help on using the changeset viewer.