Skip to content

Commit

Permalink
Give warning if computing filter thresholds failed
Browse files Browse the repository at this point in the history
  • Loading branch information
lrvdijk committed Jun 3, 2022
1 parent 35091b8 commit 17cea59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/strainge/cli/kmersets.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ def __call__(self, k, sequences, output, limit=None, prune=None,
if thresholds:
logger.info("Filtered kmerset. Only k-mers within frequency "
"range [%d, %d] are kept (mode %d).", *(thresholds[0], thresholds[2], thresholds[1]))
else:
logger.warning("Unable to compute filter thresholds! Continuing without filtering...")

if fingerprint_fraction:
kmerset.min_hash(fingerprint_fraction)
Expand Down

0 comments on commit 17cea59

Please sign in to comment.