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

ENSCORESW-1215: include params submitted via url in vep config

parent a33e0b26
No related branches found
No related tags found
No related merge requests found
......@@ -411,7 +411,9 @@ sub _include_user_params {
my %vep_params = %{ $c->config->{'Controller::VEP'} };
read_cache_info(\%vep_params);
# $c->log->debug("Before ".Dumper \%vep_params);
# Values in user_config come from POST body while request_params() contains config from url
map { $vep_params{$_} = $user_config->{$_} if ($_ ~~ @valid_keys ) } keys %{$user_config};
map { $vep_params{$_} = $c->request()->params() if ($_ ~~ @valid_keys) } keys %{$c->request->params()};
if ($c->stash->{species} ne 'homo_sapiens') {
delete $vep_params{cache};
......
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