Skip to content

Commit

Permalink
BCFtools liftover - was supposed to be yield not return
Browse files Browse the repository at this point in the history
  • Loading branch information
davmlaw committed Sep 12, 2024
1 parent b13e97f commit 8795d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snpdb/liftover.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def _liftover_using_source_variant_coordinate(allele, source_genome_build: Genom
conversion_tool = potential_conversion_tool
break # Just want 1st one

return conversion_tool, variant_coordinate, None
yield conversion_tool, variant_coordinate, None


def allele_can_attempt_liftover(allele, genome_build) -> bool:
Expand Down

0 comments on commit 8795d00

Please sign in to comment.