Commit 163f7250 authored by emepyc's avatar emepyc
Browse files

The modules of the analyses must be accessible

parent 11e97693
......@@ -420,8 +420,11 @@ sub run {
$rc_id = $rc->dbID();
## Module has to be compilable and accessible
eval "require $module;";
die "The module '$module' cannot be loaded.\n$@" if $@;
die "Problem accessing methods in '$module'. Please check that it inherits from Bio::EnsEMBL::Hive::Process and is named correctly.\n"
if ($meadow_type and not exists $valley->available_meadow_hash()->{$meadow_type}) {
die "The meadow '$meadow_type' is currently not registered (analysis '$logic_name')\n";
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