Skip to content

Commit

Permalink
fixed bug when ignore merge codons
Browse files Browse the repository at this point in the history
  • Loading branch information
saramonzon committed Aug 6, 2024
1 parent 5991307 commit 9e9bad2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/ivar_variants_to_vcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@ def export_vcf(vcf_table, consensus=True):
self.consensus_merge = consensus
if not self.ignore_merge:
processed_vcf = self.process_vcf_df(vcf_table)
else:
processed_vcf = vcf_table

try:
processed_vcf = processed_vcf.drop(["REF_CODON", "ALT_CODON"], axis=1)
except KeyError:
Expand Down

0 comments on commit 9e9bad2

Please sign in to comment.