Commit 1e61cae2 authored by Jessica Severin's avatar Jessica Severin
Browse files

missed an adaptor in switch over

parent ba8716f1
......@@ -428,8 +428,8 @@ sub _objs_from_sth {
$worker->queen($self);
$worker->db($self->db);
if($column{'analysis_id'} and $self->_analysisAdaptor) {
$worker->analysis($self->_analysisAdaptor->fetch_by_dbID($column{'analysis_id'}));
if($column{'analysis_id'} and $self->db->get_AnalysisAdaptor) {
$worker->analysis($self->db->get_AnalysisAdaptor->fetch_by_dbID($column{'analysis_id'}));
}
push @workers, $worker;
......
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