Skip to content

Commit

Permalink
fix: oi > cutoff
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangrengang committed Sep 25, 2024
1 parent 07bf975 commit 98b0bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soi/dot_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ def parse_collinearity(collinearity, gff, chrs1, chrs2, kaks, homology,
# pairs = { tuple(sorted(x)) for x in rc.pairs}
# intersect = pairs & ortholog_pairs
ratio = rc.oi #1.0*len(intersect) / len(pairs)
if not ratio >= of_ratio:
if not ratio > of_ratio:
continue
if of_color:
ks = [ratio] * len(genes1)
Expand Down

0 comments on commit 98b0bc6

Please sign in to comment.