mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix for building custom tracks from interval files.
This commit is contained in:
@@ -37,7 +37,7 @@ while args:
|
||||
else:
|
||||
# Assume type is interval (don't pass this script anything else!)
|
||||
try:
|
||||
c, s, e, st = map( int, colspec.split( "," ) )
|
||||
c, s, e, st = [ int( x ) - 1 for x in colspec.split( "," ) ]
|
||||
except:
|
||||
print "Columns in interval file invalid for UCSC custom track."
|
||||
sys.exit()
|
||||
|
||||
Reference in New Issue
Block a user