Commit d1154b70 authored by Jessica Severin's avatar Jessica Severin
Browse files

added exception if the analysis.module is undefined

parent 93ed65cc
......@@ -64,6 +64,9 @@ sub Bio::EnsEMBL::Analysis::process
die("self must be a [Bio::EnsEMBL::Analysis] not a [$self]")
unless($self->isa('Bio::EnsEMBL::Analysis'));
throw("analysis ". $self->logic_name . " has an undefined analysis.module")
unless($self->module);
my $process_class;
if($self->module =~ /::/) { $process_class = $self->module; }
else { $process_class = "Bio::EnsEMBL::Pipeline::RunnableDB::".$self->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