Commit 76355ef0 authored by Eugene Kulesha's avatar Eugene Kulesha
Browse files

das source can have multiple coordinate systems

parent 062bad21
......@@ -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);
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