Skip to content
Snippets Groups Projects
Commit e46f5903 authored by Eugene Kulesha's avatar Eugene Kulesha
Browse files

fixed the call to objs_from_sth without dest_slice parameter

parent 0f97a58b
No related branches found
No related tags found
No related merge requests found
......@@ -320,8 +320,9 @@ sub _objs_from_sth {
# a fair bit of gymnastics is used.
#
# my $sa = $self->db()->get_SliceAdaptor();
my $sa = $dest_slice->adaptor();
# in case of userdata we need the features on the dest_slice
# in case of get_all_supporting_features dest_slice is not provided ..
my $sa = $dest_slice ? $dest_slice->adaptor() : $self->db()->get_SliceAdaptor();
my $aa = $self->db->get_AnalysisAdaptor();
my @features;
......
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