modularity, community structure functions
I just upgraded from gt 2.12 to 2.14 via Macports. I have an active project that makes heavy use of the modularity
and community_structure
functions from the old community
module. I see that this module was replaced with an inference
module. However, this module does not appear to contain the two functions I need. I suspect these functions may be in the community_old
module; however, trying to import this module raises the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/graph_tool/community_old/__init__.py", line 126, in <module>
from . blockmodel import minimize_blockmodel_dl, BlockState, mcmc_sweep, \
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/graph_tool/community_old/blockmodel.py", line 41, in <module>
dl_import("from . import libgraph_tool_community as libcommunity")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/graph_tool/dl_import.py", line 57, in dl_import
exec(import_expr, local_dict, global_dict)
File "<string>", line 1, in <module>
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/graph_tool/community_old/libgraph_tool_community.so, 8): Symbol not found: __ZN10graph_tool10init_xlogxEm
Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/graph_tool/community_old/libgraph_tool_community.so
Expected in: flat namespace
in /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/graph_tool/community_old/libgraph_tool_community.so