Skip to content
Snippets Groups Projects
Commit 6b4df2c3 authored by epaule's avatar epaule
Browse files

use the default column value instead of an empty string as version

parent 537bf49e
No related branches found
No related tags found
No related merge requests found
......@@ -34,8 +34,8 @@ sub run {
my $add_xref_sth =
$self->dbi()
->prepare( "INSERT INTO xref "
. "(accession,version,label,description,source_id,species_id, info_type) "
. "VALUES(?,?,?,?,?,?,?)" );
. "(accession,label,description,source_id,species_id, info_type) "
. "VALUES(?,?,?,?,?,?)" );
my $dir = dirname($file);
......@@ -67,8 +67,8 @@ sub run {
$count{INTERPRO}++;
if (
!$add_xref_sth->execute(
$interpro, '', $short_name,
$name, $source_id, $species_id, 'MISC'
$interpro, $short_name,
$name, $source_id, $species_id, 'MISC'
)
)
{
......
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