# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User Dan Blankenberg <dan@bx.psu.edu> # Date 1280343810 14400 # Node ID 00672de098618096b9a11f7ad4983eb1c4faa32a # Parent 453e4edfab90db13efd08af64eeb3e7c64c22880 Bug fix for calculating viewport when displaying interval files at Ensembl browser. --- a/display_applications/ensembl/ensembl_interval_as_bed.xml +++ b/display_applications/ensembl/ensembl_interval_as_bed.xml @@ -31,7 +31,7 @@ #if $chrom.startswith( 'chr' ): #set $chrom = $chrom[3:] #end if -${chrom}:${start + 1}-${end} +${chrom}:${int( start ) + 1}-${end} #else: ##default view is of '1' 1 @@ -71,7 +71,7 @@ 1 #if $chrom.startswith( 'chr' ): #set $chrom = $chrom[3:] #end if - &chr=${chrom}&start=${start + 1}&end=${end} + &chr=${chrom}&start=${int( start ) + 1}&end=${end} #end if </param></dynamic_links>