Skip to content

Commit

Permalink
changed type var shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-fuchs committed Sep 6, 2024
1 parent 8e277bc commit f47d579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions varvamp/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ def shared_workflow(args, log_file):
ambiguous_consensus,
alignment_cleaned
)
for type, primer_candidates in [("+", left_primer_candidates), ("-", right_primer_candidates)]:
for primer_type, primer_candidates in [("+", left_primer_candidates), ("-", right_primer_candidates)]:
if not primer_candidates:
logging.raise_error(
f"no {type} primers found.\n",
f"no {primer_type} primers found.\n",
log_file,
exit=True
)
Expand Down

0 comments on commit f47d579

Please sign in to comment.