Identified bug in BioJava(Paiu Alexandru)

Alexandru Paiu <[email protected]>
Newsgroups gmane.comp.java.bio.general
Message-ID <[email protected]>
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
_______________________________________________
Biojava-l mailing list  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.