Skip Menu |

This queue is for tickets about the Bio-Graphics CPAN distribution.

Report information
The Basics
Id: 63118
Status: new
Priority: 0/
Queue: Bio-Graphics

People
Owner: Nobody in particular
Requestors: nathan.weeks [...] ars.usda.gov
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.15
Fixed in: (no value)



Subject: Bio::Graphics::Glyph::generic maxdepth (documentation)
The POD for Bio::Graphics::Glyph::generic states: ##################################################### This module overrides the maxdepth() method to return 0 unless the -maxdepth option is provided explicitly. This means that any module that inherits from generic will need to override maxdepth() again in order to draw subfeatures. In general, those implementing multi-segmented feature glyphs should inherit from Bio::Graphics::Glyph::segments, which allows for one level of descent. ##################################################### However, the maxdepth() method appears to default to 1: ##################################################### sub maxdepth { my $self = shift; my $maxdepth = $self->option('maxdepth'); return $maxdepth if defined $maxdepth; return 1; } ##################################################### Suggest making the documentation and behavior consistent.