Skip to content
Snippets Groups Projects
Commit 9be5f17a authored by Graham McVicker's avatar Graham McVicker
Browse files

added storing of gene description to store method

parent 0229cfcd
No related branches found
No related tags found
No related merge requests found
......@@ -782,6 +782,17 @@ sub store {
$sth->execute();
}
#
# store the gene description associated with this gene if there is one
#
my $desc = $gene->description();
if(defined($desc)) {
my $sth = $self->prepare("INSERT INTO gene_description " .
" SET gene_id = ?, " .
" description = ?" );
$sth->execute($gene_dbID, $desc);
$sth->finish();
}
#
# store the dbentries associated with this gene
......
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