Commit 8d084737 authored by Alessandro Vullo's avatar Alessandro Vullo
Browse files

Mismatched parenthesis when building SQL query for slices in circular chromosomes with start > end

parent df6938f3
......@@ -806,7 +806,7 @@ COORD_SYSTEM: foreach my $coord_system (@feature_coord_systems) {
. " OR ".$table_synonym.".seq_region_start <= ".$slice->end
. " OR ".$table_synonym.".seq_region_end >= ".$slice->start
. " OR ".$table_synonym.".seq_region_end <= ".$slice->end
. " OR ".$table_synonym.".seq_region_start > ".$table_synonym.".seq_region_end";
. " OR ".$table_synonym.".seq_region_start > ".$table_synonym.".seq_region_end)";
} else {
$constraint .= " ((".$table_synonym.".seq_region_start <= ".$slice->end
. " AND ".$table_synonym.".seq_region_end >= ".$slice->start.") "
......
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