Alan Gauld wrote:
On 19/07/12 07:00, Steven D'Aprano wrote:

         for reads, lines in four_lines( INFILE ):
                 ID_Line_1, Seq_Line, ID_Line_2, Quality_Line = lines

Shouldn't that be

          for reads, lines in enumerate( four_lines(INFILE) ):
                  ID_Line_1, Seq_Line, ID_Line_2, Quality_Line = lines


It certainly should!

Mea culpa, sorry for any confusion. This is what happens when I don't test code before posting.




--
Steven

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to