Skip to content
Browse files

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

…y set to 0.
  • Loading branch information...
1 parent 44b7006 commit c00cd00e3bb6b20f7c94ff8c6224cca16e91dfe7 @lstein lstein committed Sep 30, 2011
Showing with 3 additions and 1 deletion.
  1. +2 −0 Changes
  2. +1 −1 lib/Bio/Graphics/Glyph/gene.pm
View
2 Changes
@@ -3,6 +3,8 @@ Revision history for Perl extension Bio::Graphics.
2.25
- Deprecate xyplot "histogram" subtype and default to "boxes".
- Add xyplot overlay feature.
+ - Fix gene glyph so that it collapses appropriately when bump explicitly
+ set to 0.
2.24
- In feature file configuration sections, allow a tag to contain ":".
View
2 lib/Bio/Graphics/Glyph/gene.pm
@@ -100,7 +100,7 @@ sub bump {
if ($self->{level} == 0
&& lc $self->feature->primary_tag eq 'gene'
&& eval {($self->subfeat($self->feature))[0]->type =~ /RNA|pseudogene/i}) {
- $bump = 1;
+ $bump = $self->option('bump');
} else {
$bump = $self->SUPER::bump;
}

0 comments on commit c00cd00

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