Commit 3c9279a4 authored by Andy Yates's avatar Andy Yates
Browse files

Removing the new_fast and replacing ISA with base. new_fast comes from Feature...

Removing the new_fast and replacing ISA with base. new_fast comes from Feature & should not be overriden. ISA is just nasty
parent aa0e13e3
......@@ -66,37 +66,11 @@ This a feature representing a repeat region on a sequence
package Bio::EnsEMBL::RepeatFeature;
use strict;
use Bio::EnsEMBL::Feature;
use Bio::EnsEMBL::Utils::Exception qw(throw);
use Bio::EnsEMBL::Utils::Argument qw(rearrange);
use vars '@ISA';
@ISA = qw{ Bio::EnsEMBL::Feature };
=head2 new_fast
Arg [1] : hash reference $hashref
Example : none
Description: This is an ultra fast constructor which requires knowledge of
the objects internals to be used. It is only used by
RepeatFeatureAdaptors (when thousands of repeats need to be
quickly created). The constructor 'new' should be used in
most instances.
Returntype : Bio::EnsEMBL::RepeatFeature
Exceptions : none
Caller : RepeatFeatureAdaptors
=cut
sub new_fast {
my ($class, $hashref) = @_;
return bless $hashref, $class;
}
use base qw/Bio::EnsEMBL::Feature/;
=head2 new
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment