Commit c9ea54ab authored by Andy Yates's avatar Andy Yates
Browse files

Pass $db into the constructor.

Seems by passing @_ onwards I broke later initalisation code. Thanks
Travis for picking that up :)
parent 1d730ce1
......@@ -71,7 +71,7 @@ our @EXPORT = (@{$DBI::EXPORT_TAGS{'sql_types'}});
sub new {
my ($caller, $db, $chunk_power, $cache_size) = @_;
my $class = ref($caller) || $caller;
my $self = $class->SUPER::new(@_);
my $self = $class->SUPER::new($db);
$self->_init_seq_instance($chunk_power, $cache_size);
$self->_populate_seq_region_edits();
return $self;
......
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