Skip to content
Snippets Groups Projects
Commit df2fd8e4 authored by Andy Yates's avatar Andy Yates
Browse files

[ENSCORESW-334]. EnsemblGenomes can also hand over species. Fixed the query to...

[ENSCORESW-334]. EnsemblGenomes can also hand over species. Fixed the query to use an IN and bring EG in as well
parent 6c61625d
No related branches found
No related tags found
No related merge requests found
......@@ -123,14 +123,14 @@ join changelog_species cs using (changelog_id)
join species s using (species_id)
where c.release_id = ?
and (c.assembly = ? or c.repeat_masking = ?)
and c.team = ?
and c.team IN (?,?)
and c.status = ?
and production_name = ?
and s.production_name = ?
SQL
my $production_name = $dba->get_MetaContainer()->get_production_name();
$dba->dbc()->disconnect_if_idle();
my $release = $self->param('release');
my $params = [ $release, 'Y', 'Y', 'Genebuild', 'handed_over', $production_name ];
my $params = [ $release, 'Y', 'Y', 'Genebuild', 'EnsemblGenomes', 'handed_over', $production_name ];
my $prod_dba = $self->get_production_DBAdaptor();
my $result = $prod_dba->dbc()->sql_helper()->execute_single_result(-SQL => $sql, -PARAMS => $params);
$prod_dba->dbc()->disconnect_if_idle();
......
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