Skip to content

Commit

Permalink
Remove gene pair only if is_self is on (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao authored Jan 29, 2025
1 parent bd6be19 commit 3730993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jcvi/compara/blastfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def blastfilter_main(blast_file, p, opts):
nwarnings = 0
for b in blasts:
query, subject = b.query, b.subject
if query == subject:
if is_self and query == subject:
continue

if ostrip:
Expand Down

0 comments on commit 3730993

Please sign in to comment.