Commits

Daniel Blankenberg committed fcfc6aa

Fix iterator when using fixedStep in wiggle.Reader().

  • Participants
  • Parent commits ffda4e6

Comments (0)

Files changed (1)

File lib/bx/wiggle.py

             if 'span' in header: self.current_span = int( header['span'] )
             else: self.current_span = 1
             self.mode = "fixedStep"
+            return self.next()
         elif self.mode == "bed":
             fields = line.split()
             if len( fields ) > 3: