Skip to content

Commit

Permalink
avoid empty id entries
Browse files Browse the repository at this point in the history
  • Loading branch information
toniher committed Sep 27, 2019
1 parent be81128 commit d2a29fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/lib/FunctionalAnnotation/uploadData.pm
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,9 @@ close FH;
sub insertProtein
{
my($c_prot_id, $c_contig, $start, $end, $c_strand, $g_id, $idList,$dbh, $engine,$loglevel) =@_;


if ( ! $c_prot_id || $c_prot_id eq '' ) { return; }

if(!defined $engine){$engine = 'mysql';}

my $numberElements = scalar keys %{$idList}||'';
Expand Down

0 comments on commit d2a29fc

Please sign in to comment.