Commit 16b896bd authored by Anne Parker's avatar Anne Parker
Browse files

Hack to fetch_by_region to make it look for 'group' if 'chromosome' is not available

parent 788041e5
......@@ -186,6 +186,10 @@ sub fetch_by_region {
if ($coord_system_name) {
$cs = $csa->fetch_by_name($coord_system_name,$version);
if( !$cs && $coord_system_name eq 'chromosome' ) {
$cs = $csa->fetch_by_name('group',$version);
}
if (!$cs) {
throw("Unknown coordinate system:\n name='$coord_system_name' " .
"version='$version'\n");
......
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