diff wiggle.py @ 4:4ff5ff4c84fa draft

planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit e4192d8d51efd2bf52c8094df65c164d90168e66
author eric-rasche
date Sun, 05 Mar 2017 17:02:17 -0500
parents e8475d0195fe
children
line wrap: on
line diff
--- a/wiggle.py	Wed Mar 01 23:56:56 2017 -0500
+++ b/wiggle.py	Sun Mar 05 17:02:17 2017 -0500
@@ -6,7 +6,7 @@
         stop_position = start_position + self.parserConfig['span'] - 1
         self.stepIdx += 1
 
-        for position in xrange(start_position, stop_position):
+        for position in range(start_position, stop_position):
             yield (self.parserConfig['chrom'], position, value)
 
     def variableStepParser(self, line):
@@ -15,7 +15,7 @@
         start_position = start
         stop_position = start + self.parserConfig['span']
 
-        for position in xrange(start_position, stop_position):
+        for position in range(start_position, stop_position):
             yield (self.parserConfig['chrom'], position, value)
 
     def walk(self, handle):