Changeset fa81e94 in sasview for src/sas/sasgui/plottools/canvas.py


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/plottools/canvas.py

    • Property mode changed from 100644 to 100755
    r7432acb rfa81e94  
    9898            dc.DrawBitmap(self.canvas.bitmap, (0, 0)) 
    9999        except: 
    100             logger.error(sys.exc_value) 
     100            logger.error(sys.exc_info()[1]) 
    101101 
    102102    # restore original figure  resolution 
     
    209209                fig.draw(self) 
    210210            except ValueError: 
    211                 logger.error(sys.exc_value) 
     211                logger.error(sys.exc_info()[1]) 
    212212        else: 
    213213            self._isRendered = False 
Note: See TracChangeset for help on using the changeset viewer.