Skip to content

Commit

Permalink
updated main entry run_clairs_to
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonCLEI committed Aug 6, 2024
1 parent 581302e commit 7096e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_clairs_to
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def check_contigs_intersection(args, fai_fn):

if not args.disable_verdict:
contigs_order = ["chr" + str(a) for a in list(range(1, 23)) + ["X"]]
verdict_flag = set(contigs_order).intersection(set(sorted_contig_list)) is not None
verdict_flag = len(set(contigs_order).intersection(set(sorted_contig_list))) > 0
if not verdict_flag:
args.disable_verdict = True
logging(log_warning(
Expand Down Expand Up @@ -843,7 +843,7 @@ def check_args(args):
contig_name = columns[0]
ref_contigs_set.add(contig_name)
contigs_order = ["chr" + str(a) for a in list(range(1, 23)) + ["X"]]
verdict_flag = set(contigs_order).intersection(ref_contigs_set) is not None
verdict_flag = len(set(contigs_order).intersection(ref_contigs_set)) > 0
if not verdict_flag:
args.disable_verdict = True
logging(log_warning(
Expand Down

0 comments on commit 7096e8c

Please sign in to comment.