Skip to content

Commit

Permalink
Fix undefined value in make_strain_key()
Browse files Browse the repository at this point in the history
Refs #2831
  • Loading branch information
kimrutherford committed Jun 12, 2024
1 parent 46cc30e commit 73b0dcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etc/reapply_species_strain_map.pl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ sub make_strain_key
{
my $strain = shift;

return $strain->organism_id() . '-' . $strain->strain_name();
return $strain->organism_id() . '-' .
($strain->track_strain_id() // $strain->strain_name());
}

my $proc = sub {
Expand Down

0 comments on commit 73b0dcc

Please sign in to comment.