Skip to content
Browse files

Make this generic warning into a BiopythonWarning

  • Loading branch information...
1 parent f7afc12 commit 4b7a6f1e0fb95f84c7c289a42640af20e38335d9 @peterjc peterjc committed Jan 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Bio/SeqIO/InsdcIO.py
View
2 Bio/SeqIO/InsdcIO.py
@@ -398,7 +398,7 @@ def _write_single_line(self, tag, text):
if len(text) > self.MAX_WIDTH - self.HEADER_WIDTH:
import warnings
from Bio import BiopythonWarning
- warnings.warn("Annotation %r too long for %s line" % (text, tag),
+ warnings.warn("Annotation %r too long for %r line" % (text, tag),
BiopythonWarning)
self.handle.write("%s%s\n" % (tag.ljust(self.HEADER_WIDTH),
text.replace("\n", " ")))

0 comments on commit 4b7a6f1

Please sign in to comment.
Something went wrong with that request. Please try again.