Thanks, works great. I can't wait to apply this in so many other areas where I've been manually loading in 3-4 different datasets that are related to each other.
On Jun 8, 3:11 pm, Christopher Lee <l...@chem.ucla.edu> wrote: > On Jun 8, 2009, at 2:59 PM, Kenny Daily wrote: > > > I'm running this line that should give > > me this: > > > schema = metabase.OneToManyRelation(annotdb1, annotdb2, bindAttrs= > > ('ltrs', 'genes')) > > > Where annotdb1 are the genes, and annotdb2 are the repeats. > > > Any suggestions on how to troubleshoot this problem? An full example > > is available athttp://kmdaily.pastebin.com/m5f21ff52. Thanks! > > Hi Kenny, > use the worldbase.add_schema() method, not add_resource(). I.e. > instead of > > worldbase.add_resource("schema.%s" % resource_string, schema) > > use > > worldbase.add_schema(resource_string, schema) > > -- Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pygr-dev" group. To post to this group, send email to pygr-dev@googlegroups.com To unsubscribe from this group, send email to pygr-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pygr-dev?hl=en -~----------~----~----~----~------~----~------~--~---