[Biopython-dev] [PATCH] Buglet

Yves Bastide Yves.Bastide at irisa.fr
Tue Sep 2 12:01:02 EDT 2003


A colleague just hit today a bug in my previous patch to 
Bio.Blast.NCBIStandalone...

yves
-------------- next part --------------
Index: Bio/Blast/NCBIStandalone.py
===================================================================
RCS file: /home/repository/biopython/biopython/Bio/Blast/NCBIStandalone.py,v
retrieving revision 1.48
diff -u -p -r1.48 NCBIStandalone.py
--- Bio/Blast/NCBIStandalone.py	2003/08/08 19:37:30	1.48
+++ Bio/Blast/NCBIStandalone.py	2003/09/02 15:59:11
@@ -1318,7 +1318,7 @@ class Iterator:
                 break
             # If I've reached the next one, then put the line back and stop.
             if lines and (line.startswith('BLAST')
-                          or line.startswith('BLAST', start = 1)):
+                          or line.startswith('BLAST', 1)):
                 self._uhandle.saveline(line)
                 break
             lines.append(line)


More information about the Biopython-dev mailing list