Commit 254abeb8 authored by Monika Komorowska's avatar Monika Komorowska
Browse files

delete records from display_xref_priority and gene_desc_priority when status...

delete records from display_xref_priority and gene_desc_priority when status is reset to parsing_finished or mapping_finished
parent a5b9335c
......@@ -935,6 +935,15 @@ sub clean_up{
$sth = $self->xref->dbc->prepare($sql);
$sth->execute();
$sql = "DELETE from display_xref_priority";
$sth = $self->xref->dbc->prepare($sql);
$sth->execute();
$sql = "DELETE from gene_desc_priority";
$sth = $self->xref->dbc->prepare($sql);
$sth->execute();
if (!$keep_core_data) {
# remove all from core_info tables
......
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