[Biojava-l] Annotation
mark.schreiber at novartis.com
mark.schreiber at novartis.com
Wed Nov 23 08:43:14 EST 2005
Hello -
Some Annotations allow new properties. Some (like
Annotation.EMPTY_ANNOTATION) do not and will throw the exception you get.
Alternatively you may have added a ChangeListener which is vetoeing your
change but it seems unlikely you would do this without meaning to.
Can you determine the type of Annotation you have?
seq.getAnnotation().getClass().getName()
This will help us to figure out where the problem is.
- Mark
"Christian Köberle" <koeberle at mpiib-berlin.mpg.de>
Sent by: biojava-l-bounces at portal.open-bio.org
11/22/2005 05:58 PM
To: biojava-l at biojava.org
cc: (bcc: Mark Schreiber/GP/Novartis)
Subject: [Biojava-l] Annotation
Hi,
I have a problem with Annotation. If I try to add a new Property to an
Annotation I get a ChangeVetoException. What can I do?
--
Christian Köberle
Max Planck Institute for Infection Biology
Department: Immunology
Schumannstr. 21/22
10117 Berlin
Tel: +49 30 28 460 562
e-mail: koeberle at mpiib-berlin.mpg.de
_______________________________________________
Biojava-l mailing list - Biojava-l at biojava.org
http://biojava.org/mailman/listinfo/biojava-l
More information about the Biojava-l
mailing list