Commit 7f7a24f7 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

The modules of the analysis must be loadable

parent 30dbffd3
...@@ -417,6 +417,9 @@ sub run { ...@@ -417,6 +417,9 @@ sub run {
$rc_id = $rc->dbID(); $rc_id = $rc->dbID();
} }
eval "require $module;";
die "The module '$module' cannot be loaded.\n$@" if $@;
$analysis = Bio::EnsEMBL::Hive::Analysis->new( $analysis = Bio::EnsEMBL::Hive::Analysis->new(
-logic_name => $logic_name, -logic_name => $logic_name,
-module => $module, -module => $module,
......
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