inference.minimize_nested_blockmodel_dl does not support bs != None
I'm running the current version. If I try to provide a list of np.arrays that contain the hirarchies, I get the following error: Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/IPython/core/interactiveshell.py", line 2847, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-104-5c3124f01cab>", line 2, in <module> gs[i], deg_corr=True, bs=asd, File "/usr/lib/python3/dist-packages/graph_tool/inference/minimize.py", line 503, in minimize_nested_blockmodel_dl base_type=type(min_state), UnboundLocalError: local variable 'min_state' referenced before assignment Basically, min_states is only defined if bs is None, in which case get_states() gets called. As soon as one provides bs, that breaks down. The reason I report this bug here is that I get the following error whenever I try to click on git or issues on the web: Misdirected Request The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection. -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 25.05.2017 18:20, excuvator wrote:
The reason I report this bug here is that I get the following error whenever I try to click on git or issues on the web:
Misdirected Request
The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection.
This is an incompatibility problem with older browsers; it has been fixed now. You can also go directly to git.skewed.de. Please open an issue there, and it will be dealt with. (Remember to provide a simple, self-contained example that shows the problem.) Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
excuvator -
Tiago de Paula Peixoto