Commits

David King  committed d31c5bc

same change for fixedStep as galaxy

  • Participants
  • Parent commits ec769c1

Comments (0)

Files changed (1)

File bx/wiggle.py

             yield current_chrom, pos, pos+current_span, val
         elif mode == "fixedStep":
             val = float( line.split()[0] )
-            pos = current_pos
-            yield current_chrom, pos, pos+current_span, strand, val
+            current_pos += current_step
+            yield current_chrom, current_pos, current_pos+current_span, strand, val
         else:
             raise "Unexpected input line: %s" % line.strip()