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 8dba1790 authored by sfritschi's avatar sfritschi
Browse files

minor fix

parent b3e3f720
......@@ -926,8 +926,7 @@ def generate_dendrogram(basenet: Network, targetsize: List[int], \
# Expensive: Find alternative (multiprocessing)
candidates = cellList.find_candidates(poreIdx)
while ttbr:
throatIdx = ttbr.pop()
for throatIdx in ttbr.copy():
r = cellList.throatR[throatIdx]
targetLen = cellList.throatL[throatIdx]
......@@ -973,6 +972,8 @@ def generate_dendrogram(basenet: Network, targetsize: List[int], \
avg_throat_diff += diff
count += 1
# Remove throat from pore
ttbr.remove(throatIdx)
# Remove throat from neighbor
nborTtbr.remove(nborThroatIdx)
......
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