Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
jodyphelan committed Nov 18, 2024
1 parent f557627 commit 5d6c733
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tbprofiler/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@
import re

def process_tb_profiler_args(args: argparse.Namespace) -> None:
if args.snp_dist or args.update_phylo:
if args.snp_dist:
args.call_whole_genome = True
args.call_lineage = False if args.no_lineage else True
if args.vcf and args.spoligotype:
args.spoligotype = False
if args.snp_dist or args.update_phylo:
args.call_whole_genome = True

def get_vcf_samples(vcf_file):
vcf = Vcf(vcf_file)
Expand Down

0 comments on commit 5d6c733

Please sign in to comment.