[Biojava-dev] registered alphabets
Schreiber, Mark
mark.schreiber at agresearch.co.nz
Thu Apr 17 16:04:43 EDT 2003
Hi -
I have added a registered(String alphaName) method to the AlphabetManager to allow you to test if an Alphabet had been registered with that name so you can avoid using a try catch block which can be ugly.
I noticed while doing this that it is perfectly possible to register and Alphabet that already exists. Eg I can register my own Alphabet as DNA. There is really no problem with that except that I will get odd results. There could be a problem if anyone ever tries to use biojava for distributed programming or webservices as there is no way to guarentee that the Alphabet requested from a remote server by name is really the Alphabet you wanted.
Am I being paranoid or do we need UIDs or LSIDs or some such thing to keep track of things?
- Mark
=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================
More information about the biojava-dev
mailing list