Skip to content

Commit

Permalink
update call to notify in src/sourmash/search.py with f-strings (#1418)(
Browse files Browse the repository at this point in the history
  • Loading branch information
itsabhianant authored Mar 30, 2021
1 parent f4a6918 commit f3b0b8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sourmash/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ def gather_databases(query, databases, threshold_bp, ignore_abundance):
best_cont, best_match, filename = _find_best(databases, query,
threshold_bp)
if not best_match: # no matches at all for this cutoff!
notify('found less than {} in common. => exiting',
format_bp(threshold_bp))
notify(f'found less than {format_bp(threshold_bp)} in common. => exiting')
break

# subtract found hashes from search hashes, construct new search
Expand Down

0 comments on commit f3b0b8c

Please sign in to comment.