Browse Source

fix fork stripping + fork None values

devel
Stefan Holst 1 year ago
parent
commit
2270a9eee7
  1. 1
      src/kyupy/sim.py

1
src/kyupy/sim.py

@ -229,6 +229,7 @@ class SimOps:
prev_line = prev_line.driver.ins[0] prev_line = prev_line.driver.ins[0]
stem_idx = prev_line.index stem_idx = prev_line.index
for ol in f.outs: for ol in f.outs:
if ol is not None:
stems[ol] = stem_idx stems[ol] = stem_idx
# calculate level (distance from PI/PPI) and reference count for each line # calculate level (distance from PI/PPI) and reference count for each line

Loading…
Cancel
Save