[Biojava-l] loading multiple records for same organism and peristance in BioSQL

Mark Schreiber markjschreiber at gmail.com
Tue Apr 22 06:40:35 UTC 2008


Hi -

Can someone update the docs on biojava.org to reflect this requirement?

Thanks,

- Mark

On Tue, Apr 22, 2008 at 1:44 PM, Andreas Dräger
<andreas.draeger at uni-tuebingen.de> wrote:
> 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
>




More information about the Biojava-l mailing list