Lately, I am using your package PyBoolNet to detect attractors of some networks, but I have some problems in doing the experiments. I would appreciate if you could help.
An error occurs when using the Tarjan algorithm and the model checking-based algorithm. Please find the console output below.
Traceback (most recent call last):
File "", line 1, in
File ".../lib/python3.7/site-packages/PyBoolNet/Attractors.py", line 858, in compute_attractors_tarjan
condensation_graph = PyBoolNet.Utility.DiGraphs.digraph2condensationgraph(STG)
File ".../lib/python3.7/site-packages/PyBoolNet/Utility/DiGraphs.py", line 467, in digraph2condensationgraph
cgraph.node[target]["depth"] = depth
AttributeError: 'DiGraph' object has no attribute 'node'
Attractors.compute_json(..)
Traceback (most recent call last):
File "", line 1, in
File ".../lib/python3.7/site-packages/PyBoolNet/Attractors.py", line 95, in compute_json
if completeness(Primes, Update):
File ".../lib/python3.7/site-packages/PyBoolNet/Attractors.py", line 458, in completeness
return _iterative_completeness_algorithm(Primes, Update, ComputeCounterexample=False)
File ".../lib/python3.7/site-packages/PyBoolNet/Attractors.py", line 646, in _iterative_completeness_algorithm
cgraph = PyBoolNet.Utility.DiGraphs.digraph2condensationgraph(igraph)
File ".../lib/python3.7/site-packages/PyBoolNet/Utility/DiGraphs.py", line 467, in digraph2condensationgraph
cgraph.node[target]["depth"] = depth
AttributeError: 'DiGraph' object has no attribute 'node'
Lately, I am using your package PyBoolNet to detect attractors of some networks, but I have some problems in doing the experiments. I would appreciate if you could help.
Tarjan algorithm
Traceback (most recent call last): File "", line 1, in
File ".../lib/python3.7/site-packages/PyBoolNet/Attractors.py", line 858, in compute_attractors_tarjan
condensation_graph = PyBoolNet.Utility.DiGraphs.digraph2condensationgraph(STG)
File ".../lib/python3.7/site-packages/PyBoolNet/Utility/DiGraphs.py", line 467, in digraph2condensationgraph
cgraph.node[target]["depth"] = depth
AttributeError: 'DiGraph' object has no attribute 'node'
model checking-based algorithm
Attractors.compute_json(..) Traceback (most recent call last): File "", line 1, in
File ".../lib/python3.7/site-packages/PyBoolNet/Attractors.py", line 95, in compute_json
if completeness(Primes, Update):
File ".../lib/python3.7/site-packages/PyBoolNet/Attractors.py", line 458, in completeness
return _iterative_completeness_algorithm(Primes, Update, ComputeCounterexample=False)
File ".../lib/python3.7/site-packages/PyBoolNet/Attractors.py", line 646, in _iterative_completeness_algorithm
cgraph = PyBoolNet.Utility.DiGraphs.digraph2condensationgraph(igraph)
File ".../lib/python3.7/site-packages/PyBoolNet/Utility/DiGraphs.py", line 467, in digraph2condensationgraph
cgraph.node[target]["depth"] = depth
AttributeError: 'DiGraph' object has no attribute 'node'