[Biojava-l] Gap Problem

2001-06-28 Thread Emig, Robin
Is there any reason why the following line should return false if the current symbol is the gap symbol? ((sl.symbolAt(i) == sl.getAlphabet().getGapSymbol()) I tried this simple code and s=AlphabetManager$GapSymbol, but sl1.getAlphabet.getGapSymbol()== a simple basis symbol. What gives, why di

Re: [Biojava-l] Gap Problem

2001-06-28 Thread Thomas Down
On Thu, Jun 28, 2001 at 12:58:09PM -0700, Emig, Robin wrote: > > Is there any reason why the following line should return false if the > current symbol is the > gap symbol? > > ((sl.symbolAt(i) == sl.getAlphabet().getGapSymbol()) > > I tried this simple code and s=AlphabetManager$GapSymbol, b

[Biojava-l] Location formatting interface change

2001-06-28 Thread Cox, Greg
I'm implementing location formatting for Swissprot, and tripped across the following: A location like, FuzzyLocation (1.5)..(6.10) cannot be represented in swissprot; the semantics just aren't rich enough. I have three options to propose: 1) Throw an exception. This involves changing the FileF