To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 1c2cc8af authored by sfritschi's avatar sfritschi
Browse files

Minor bug fix

parent 57237612
......@@ -36,7 +36,9 @@ def main():
_ = netgen.plot_network(dendro)
plt.savefig('plots/dendro.png')
"""
"""
netflow.save_network_to('../visualize/network/dendro.h5', dendro)
"""
print("Generated network statistics:")
print("Throats: %d" % len(dendro.throats))
print("Pores: %d" % len(dendro.pores))
......
......@@ -826,9 +826,7 @@ def generate_dendrogram(basenet: Network, targetsize: List[int], \
if (throatIdx not in ttbr):
continue # Throat already realized
pore.throats.pop()
r = cellList.throatR[throatIdx]
targetLen = cellList.throatL[throatIdx]
nbor = pores[match]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment