Commit f2baa93f authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfixfix: make sure schema_version is not checked for new pipeline databases,...

bugfixfix: make sure schema_version is not checked for new pipeline databases, but checked prior to topping-up
parent 6d7237b6
......@@ -432,6 +432,13 @@ sub overridable_pipeline_create_commands {
}
sub is_analysis_topup {
my $self = shift @_;
return $self->o('hive_no_init');
}
sub run_pipeline_create_commands {
my $self = shift @_;
......
......@@ -40,7 +40,9 @@ sub init_pipeline {
$pipeconfig_object->run_pipeline_create_commands();
my $hive_dba = Bio::EnsEMBL::Hive::DBSQL::DBAdaptor->new( -url => $pipeconfig_object->pipeline_url())
my $hive_dba = Bio::EnsEMBL::Hive::DBSQL::DBAdaptor->new(
-url => $pipeconfig_object->pipeline_url(),
-no_sql_schema_version_check => !$pipeconfig_object->is_analysis_topup )
or die "Hive's DBAdaptor could not be created for ".$pipeconfig_object->pipeline_url();
$hive_dba->load_collections();
......
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