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

das source can have multiple coordinate systems

parent 062bad21
No related branches found
No related tags found
No related merge requests found
......@@ -200,7 +200,8 @@ sub get_all_DAS_Features{
# Construct a cache key : SOURCE_URL/TYPE
# Need the type to handle sources that serve multiple types of features
my ($type) = @{$dasfact->adaptor->mapping || []};
my ($type) = ref($dasfact->adaptor->mapping)eq'ARRAY' ?
@{$dasfact->adaptor->mapping} : $dasfact->adaptor->mapping;
$type ||=$dasfact->adaptor->type;
my $key = join('/', $name, $type);
......
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