Trees | Indices | Help |
|
---|
|
Exception handling. Functions to start and stop Canvas. Requires use of squish_modules/general/general.py
To use, place the following code at the top of your test.py: source( findFile( "scripts", "canvas/exception_handling.py"))
Copyright (c) Schrodinger, LLC. All rights reserved
|
|||
|
|||
|
|||
|
|||
|
|
|||
_OBJECT_INTERACT_DEQUE = _dq([], 20)
|
|||
_CANVAS_STDERR_STORED = ''
|
|||
_new_objects = {":&File_QAction": "{container=':Canvas*_QMenuB
|
|||
_dllpreload = os.environ.get("SQUISH_PREFIX")+ r'\bin\dllprelo
|
|||
_canv_exec = _hunt('canvas', 'exec')+ '/canvas.exe'
|
|||
cmd_input = 'canvas'
|
|
Waits for Canvas to open. Application context stored as global _canvas.
|
Quits Canvas closing error/overwrite windows. Logs stdout and all filtered stderr (stderr not reported by catchTerminalErrors eventHandler. |
Polls stderr for unexpected terminal output during test execution. Implemented by event handler keyed from QMouseEvent so that the obj passed to this function should be whatever object was clicked most recently. Sometimes the most recent object clicked will have no symbolic or real name so a deque of the most recent objects is logged to aid in debugging. |
|
_new_objects
|
_dllpreload
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 2 06:32:57 2017 | http://epydoc.sourceforge.net |