Re: [Biojava-l] Gapping Sequence problems

2005-12-21 Thread mark . schreiber
You could try if(!inGapState && (seq[i].symbolAt(j) == gap || seq[i].symbolAt(j) == AlphabetManager.getGapSymbol())) - Mark "Dan Cardin" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12/21/2005 04:16 PM To: biojava-l@biojava.org cc: (bcc: Mark Schreiber/GP/Nova

RE: [Biojava-l] Gapping Sequence problems

2005-12-21 Thread Richard HOLLAND
I think you could try swapping the use of == for equals() when testing for equivalence to the gap symbol. It _should_ be the same literal object, but maybe not. equals() will work in both cases but == will not. cheers, Richard Richard Holland Bioinformatics Specialist GIS extension 8199 -