We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6213df commit 0ad5655Copy full SHA for 0ad5655
src/ogdf_python/loader.py
@@ -53,8 +53,12 @@
53
cppyy.include("ogdf/basic/internal/config_autogen.h")
54
cppyy.include("ogdf/basic/internal/config.h")
55
cppyy.include("ogdf/basic/Graph.h")
56
- cppyy.include("ogdf/cluster/ClusterGraphObserver.h") # otherwise only pre-declared
+ try:
57
+ cppyy.include("ogdf/cluster/ClusterGraphObserver.h") # otherwise only pre-declared
58
+ except ImportError:
59
+ pass # gone in newer versions
60
cppyy.include("ogdf/fileformats/GraphIO.h")
61
+ cppyy.include("ogdf/basic/LayoutStandards.h")
62
63
cppyy.load_library("OGDF")
64
except:
0 commit comments