Skip to content
Snippets Groups Projects

nodeGraph and updated info()

Open Sebastian Steinlechner requested to merge sestei/pykat:master into master
Compare and
3 files
+ 77
9
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 8
0
@@ -8,6 +8,7 @@ __version__ = "1.0.8"
# This flag is used to switch on the gui features in pkat at import time
USE_GUI = False
HAS_OPTIVIS = False
HAS_GRAPHVIZ = False
import imp
@@ -17,6 +18,13 @@ try:
except ImportError:
HAS_OPTIVIS = False
try:
imp.find_module('pygraphviz')
HAS_GRAPHVIZ = True
except ImportError:
HAS_GRAPHVIZ = False
import pykat.exceptions as pkex
NoGUIException = pkex.BasePyKatException("No PyQt4 module was found so cannot open a GUI")
Loading