Skip to content
This repository
Browse code

Make this generic warning into a BiopythonWarning

  • Loading branch information...
commit 4b7a6f1e0fb95f84c7c289a42640af20e38335d9 1 parent f7afc12
Peter Cock peterjc authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  Bio/SeqIO/InsdcIO.py
2  Bio/SeqIO/InsdcIO.py
@@ -398,7 +398,7 @@ def _write_single_line(self, tag, text):
398 398 if len(text) > self.MAX_WIDTH - self.HEADER_WIDTH:
399 399 import warnings
400 400 from Bio import BiopythonWarning
401   - warnings.warn("Annotation %r too long for %s line" % (text, tag),
  401 + warnings.warn("Annotation %r too long for %r line" % (text, tag),
402 402 BiopythonWarning)
403 403 self.handle.write("%s%s\n" % (tag.ljust(self.HEADER_WIDTH),
404 404 text.replace("\n", " ")))

0 comments on commit 4b7a6f1

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