Commits

Anonymous committed d31c5bc

same change for fixedStep as galaxy

Comments (0)

Files changed (1)

             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()