Skip to content

Commit

Permalink
added default value for attribute 'id'
Browse files Browse the repository at this point in the history
  • Loading branch information
Takadonet committed Feb 28, 2011
1 parent c41b508 commit 8e40cf9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Bio/Tools/CodonTable.pm
Expand Up @@ -15,6 +15,8 @@ class Bio::Tools::CodonTable {
#constant NYI
has Int $.CODONSIZE = 3 ;

has $.id is rw = 1;

# thinking these could go into a simple basic data class
#constant NYI
has @!NAMES = (
Expand Down Expand Up @@ -83,7 +85,7 @@ has @!STARTS = <
--------------------------------M--M---------------M------------
>;

has $.id is rw;


#has CODONS => (
# is => 'ro',
Expand Down

0 comments on commit 8e40cf9

Please sign in to comment.