Skip to content
Snippets Groups Projects
Commit 6ee1217b authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Fixed typo (= instead of eq) that was causing search regions to be deleted...

Fixed typo (= instead of eq) that was causing search regions to be deleted when enhancers were loaded!
parent 2e5398a0
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ sub delete_existing {
$sth->execute($t);
# Delete search regions; they have a different analysis_id
if ($type = "cisred") {
if ($type eq "cisred") {
my $sr_type = $type . "_search";
die "Can't find analysis for $sr_type " unless validate_type($db_adaptor, $sr_type);
my $anal_sth = $db_adaptor->dbc->prepare("SELECT analysis_id FROM analysis WHERE LOWER(logic_name)=?");
......
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