Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl-rest
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl-rest
Merge requests
!175
avoid setting plugins key to undef
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
avoid setting plugins key to undef
github/fork/willmclaren/master
into
master
Overview
10
Commits
1
Pipelines
0
Changes
1
Merged
Marek Szuba
requested to merge
github/fork/willmclaren/master
into
master
8 years ago
Overview
10
Commits
1
Pipelines
0
Changes
1
Expand
Created by: willmclaren
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
5e73532c
1 commit,
5 years ago
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
lib/EnsEMBL/REST/Controller/VEP.pm
+
3
−
3
Options
@@ -246,7 +246,7 @@ sub get_consequences {
my
$runner
=
Bio::EnsEMBL::VEP::
Runner
->
new
(
$config
);
$runner
->
registry
(
$c
->
model
('
Registry
')
->
_registry
());
$runner
->
{
plugins
}
=
$config
->
{
plugins
};
$runner
->
{
plugins
}
=
$config
->
{
plugins
}
||
[]
;
my
$consequences
=
$runner
->
run_rest
(
$vfs
);
@@ -371,9 +371,9 @@ sub _configure_plugins {
# get config from file
my
$plugin_config_file
=
$vep_config
->
{
plugin_config
};
return
unless
$plugin_config_file
&&
-
e
$plugin_config_file
;
return
[]
unless
$plugin_config_file
&&
-
e
$plugin_config_file
;
open
IN
,
$plugin_config_file
or
return
;
open
IN
,
$plugin_config_file
or
return
[]
;
my
@content
=
<
IN
>
;
close
IN
;