Skip to content

Commit

Permalink
Fixup log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher committed Oct 1, 2024
1 parent 81d449c commit 020fecc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sc2ts/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def preprocess(
except KeyError:
logger.debug(f"No alignment stored for {strain}")
continue
pango = (md.get(pango_lineage_key, "PangoUnknown"),)
pango = md.get(pango_lineage_key, "PangoUnknown")
# NOTE everything we store about the sample is **excluding** the problematic_sites
sample = make_sample(strain, date, pango, md, alignment[keep_sites])
num_missing_sites = sample.num_missing_sites
Expand All @@ -516,7 +516,7 @@ def preprocess(
samples.append(sample)
else:
logger.debug(
f"Filter {strain}: missing={num_missing_sites} < {max_missing_sites}"
f"Filter {strain}: missing={num_missing_sites} > {max_missing_sites}"
)
return samples

Expand Down

0 comments on commit 020fecc

Please sign in to comment.