Commit c2c0e260 authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: make sure dataflow rules are available to the beekeeper (which at the...

bugfix: make sure dataflow rules are available to the beekeeper (which at the moment is collection-free)
parent aefa90ee
......@@ -241,7 +241,9 @@ sub dataflow_rules_collection {
my $collection = Bio::EnsEMBL::Hive::DataflowRule->collection();
return $collection->find_all_by('from_analysis', $self);
return $collection
? $collection->find_all_by('from_analysis', $self)
: $self->adaptor->db->get_DataflowRuleAdaptor->fetch_all_by_from_analysis_id( $self->dbID );
}
......
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