Skip to content

Commit

Permalink
Merge branch 'single_exons'
Browse files Browse the repository at this point in the history
  • Loading branch information
yp committed Jan 3, 2014
2 parents 2bbfe84 + a9186bc commit 91901f0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/bio/graphics/glyph.rb
Expand Up @@ -431,9 +431,8 @@ def self.transcript(args)
:stroke_width => args[:exon_stroke_width],
:style => args[:exon_style]} )
end
if args[:exons].length > 1
if args[:gap_marker] == "angled" and not args[:block_gaps].empty?
$stderr.puts args[:exons].length
if not args[:block_gaps].empty?
if args[:gap_marker] == "angled"
args[:block_gaps].each do |gap|
points = "#{gap.first},#{args[:y] + (args[:height]/2) } #{gap.first + (gap.last/2)},#{args[:y]} #{gap.first + gap.last},#{args[:y] + (args[:height]/2)}"
composite << Bio::Graphics::Primitive.new(:polyline, {
Expand Down

0 comments on commit 91901f0

Please sign in to comment.