Skip to content
Browse files

added default value for attribute 'id'

  • Loading branch information...
1 parent c41b508 commit 8e40cf99c3966866de90958aaadb164d3b31752a @Takadonet Takadonet committed Feb 28, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/Bio/Tools/CodonTable.pm
View
4 lib/Bio/Tools/CodonTable.pm
@@ -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 = (
@@ -83,7 +85,7 @@ has @!STARTS = <
--------------------------------M--M---------------M------------
>;
-has $.id is rw;
+
#has CODONS => (
# is => 'ro',

0 comments on commit 8e40cf9

Please sign in to comment.
Something went wrong with that request. Please try again.