[Biococoa-dev] mass calculator bug
jtimmer at bellatlantic.net
Sun Aug 29 18:46:36 EDT 2004
> Already running into one problem here. These methods call
> "isRepresentedByBase" a couple of times. But that is only defined in
> BCNucleotideSymbol, not in BCSymbol.
> I can think of a few solutions:
> 1. Change the name to isRepresentedBySymbol, and put an empty method in
> BCSymbol. I don;t think that the one in BCNucleotideSymbol gets called
> then, because I am treating all symbols as BCSymbol
> 2. Add an extra line that tests if the symbol is a BCNucleotideSymbol,
> and then excecute the line containing isRepresentedBySymbol.
> 3. ...
I think Alex's 3 was to have the general method in the BCSequence class, and
leave them overridden in BCSequenceDNA, which makes the most sense to me.
I think this is the last email that came over the weekend that I should
respond to - let me know if I'm mistaken.
This mind intentionally left blank
More information about the Biococoa-dev