Commit 45d1ab86 authored by sfritschi's avatar sfritschi
Browse files

Fixed minor bug related to ttbrs

parent 0e2123a4
......@@ -774,7 +774,8 @@ def generate_dendrogram(basenet: Network, targetsize: List[int], \
total = 0
n_already_taken = 0
ttbrs = [pore.throats.copy() for pore in pores]
# Copy throats of pores to keep track of the ones already realized
ttbrs = [pore.throats.copy() for pore in pores[:n]]
for poreIdx, pore in enumerate(pores[:n]):
if (not mute):
Supports Markdown
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