Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix gene glyph so that it collapses appropriately when bump explicitl…

…y set to 0.
  • Loading branch information...
commit c00cd00e3bb6b20f7c94ff8c6224cca16e91dfe7 1 parent 44b7006
Lincoln Stein lstein authored

Showing 2 changed files with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 0  Changes
  2. +1 1  lib/Bio/Graphics/Glyph/gene.pm
2  Changes
@@ -3,6 +3,8 @@ Revision history for Perl extension Bio::Graphics.
3 3 2.25
4 4 - Deprecate xyplot "histogram" subtype and default to "boxes".
5 5 - Add xyplot overlay feature.
  6 + - Fix gene glyph so that it collapses appropriately when bump explicitly
  7 + set to 0.
6 8
7 9 2.24
8 10 - In feature file configuration sections, allow a tag to contain ":".
2  lib/Bio/Graphics/Glyph/gene.pm
@@ -100,7 +100,7 @@ sub bump {
100 100 if ($self->{level} == 0
101 101 && lc $self->feature->primary_tag eq 'gene'
102 102 && eval {($self->subfeat($self->feature))[0]->type =~ /RNA|pseudogene/i}) {
103   - $bump = 1;
  103 + $bump = $self->option('bump');
104 104 } else {
105 105 $bump = $self->SUPER::bump;
106 106 }

0 comments on commit c00cd00

Please sign in to comment.
Something went wrong with that request. Please try again.