Skip to content
Snippets Groups Projects
Commit c6f7feb6 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

do not restrict on team when looking for declarations

restriction on assembly or repeat mask changes should be enough, and we can have external groups (wormbase, ensemblgenomes) submitting new gene sets
parent 705dcc6e
No related branches found
No related tags found
No related merge requests found
......@@ -137,14 +137,13 @@ 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 IN (?,?)
and c.status = ?
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', 'EnsemblGenomes', 'handed_over', $production_name ];
my $params = [ $release, 'Y', 'Y', '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