Skip to content
Snippets Groups Projects
Commit 0d5d85f2 authored by Kieron Taylor's avatar Kieron Taylor :angry:
Browse files

Finished up some queries that are left hanging when an early exit is made....

Finished up some queries that are left hanging when an early exit is made. This was causing weirdness when fetching supercontigs and projecting them. ENSCORESW-429
parent 62560330
No related branches found
No related tags found
No related merge requests found
......@@ -609,6 +609,7 @@ sub register_component {
if($sth->rows() == 0) {
#this component is not used in the assembled part i.e. gap
$asm_mapper->register_component($cmp_seq_region);
$sth->finish();
return;
}
......@@ -618,6 +619,7 @@ sub register_component {
# chromosome:EquCab2|contig ( use '|' delimiter for 1-1 mappings )
#
if($sth->rows() != 1) {
$sth->finish();
throw("Multiple assembled regions for single " .
"component region cmp_seq_region_id=[$cmp_seq_region]\n".
"Remember that multiple mappings use the \#-operaator".
......
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