Skip to content

Commit 0a177bf

Browse files
committed
add except
1 parent b96851b commit 0a177bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phred_per_read.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def phred_to_number(fastqfile):
3939
try:
4040
score_one.append(phred[i])
4141
except KeyError as e:
42-
logging.warnings("score char not in sanger 0-45 range", e)
42+
logging.warn("score char not in sanger 0-45 range", e)
4343

4444
score_one_mean=mean(score_one)
4545
# Note the last word in qyalityscore is "\n"

0 commit comments

Comments
 (0)