[Biojava-l] Identified bug in BioJava(Paiu Alexandru)

Alexandru Paiu paiualex12 at gmail.com
Wed Apr 6 17:05:38 UTC 2011


Hi to all .
I've identified a bug in BioJava .
Usually the first element in an array is on index 0 (pos 0 ) .
I've tried to learn more about Java and I've tryed the next 2 instructions :

ProteinSequence a=new ProteinSequence("A");
AminoAcidCompound b=a.getCompoundAt(0);


This will give a null execption (out of array bounds or something like that
) .
when I put AminoAcidCompound b=a.getCompoundAt(1);  it works and identifies
the first
aminoacid as Alanine .

That's all for today



More information about the Biojava-l mailing list