[Biojava-l] loading multiple records for same organism and peristance in BioSQL
Andreas Dräger
andreas.draeger at uni-tuebingen.de
Tue Apr 22 05:45:02 UTC 2008
Hi Doug,
We also had the same problem. The solution is simple. You always
construct a new SimpleNamespace, each time with the same name. Your code
will work if you do one of the following:
1. You can load the namespace with the name from the database and set
this namespace to the parser.
2. You can use the default namespace from the RichObjectFactory or
3. Just use the parser method, which does not require any namespaces -
this method actually uses the default namespace (so three is actually
equal to two).
This should help.
Cheers
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: andreas.draeger.vcf
Type: text/x-vcard
Size: 509 bytes
Desc: not available
URL: <http://lists.open-bio.org/pipermail/biojava-l/attachments/20080422/0d8e8e41/attachment-0001.vcf>
More information about the Biojava-l
mailing list