174 175 176 177 178 179 180
# File 'lib/bio/data/aa.rb', line 174 def one2three(x) if x and x.length != 1 raise ArgumentError else NAMES[x] end end