Skip to content

Commit

Permalink
table 0 was seen as undef so nnot enter in the id function
Browse files Browse the repository at this point in the history
  • Loading branch information
Juke34 committed Feb 16, 2024
1 parent d622ca4 commit 50a4823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Bio/Tools/CodonTable.pm
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ sub new {
@args);

$id = 1 if ( ! defined ( $id ) );
$id && $self->id($id);
$self->id($id);
return $self; # success - we hope!
}

Expand Down

0 comments on commit 50a4823

Please sign in to comment.