Skip to content

Commit

Permalink
fixed addition in dict (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-fuchs authored Apr 24, 2024
1 parent 8a7add3 commit 64f1608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion varvamp/scripts/blast.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def predict_non_specific_amplicons(amplicons, blast_df, max_length, mode, n_thre
if mode == "single_tiled":
amplicons[off_target][5] = amplicons[off_target][5] + config.BLAST_PENALTY
elif mode == "qpcr":
amplicons[off_target]["penalty"][0] = amplicons[off_target]["penalty"][0] + config.BLAST_PENALTY
amplicons[off_target]["penalty"] = amplicons[off_target]["penalty"] + config.BLAST_PENALTY

return off_targets, amplicons

Expand Down

0 comments on commit 64f1608

Please sign in to comment.