Mac binaries
[jabaws.git] / website / archive / binaries / mac / src / globplot / biopython-1.50 / Bio / Writer.py
diff --git a/website/archive/binaries/mac/src/globplot/biopython-1.50/Bio/Writer.py b/website/archive/binaries/mac/src/globplot/biopython-1.50/Bio/Writer.py
new file mode 100644 (file)
index 0000000..9247de2
--- /dev/null
@@ -0,0 +1,17 @@
+"""Part of an old unused and undocumented sequence writing framework (DEPRECATED)."""
+
+import warnings
+warnings.warn("Bio.Writer and Bio.writer.* are deprecated. If you do use"\
+              +" these modules, please get in touch via the mailing list or"\
+              +" bugzilla to avoid their permanent removal from Biopython.", \
+              DeprecationWarning)
+
+class Writer:
+    def __init__(self, outfile):
+        self.outfile = outfile
+    def writeHeader(self):
+        pass
+    def write(self, record):
+        pass
+    def writeFooter(self):
+        pass