Hi,

What about saving your resources by another name?

from pygr import metabase
mdb = metabase.Metabase('.')

test_genome = mdb('Bio.Seq.Genome.test_genome')
mdb.add_resource('Bio.Seq.Genome.real_genome', test_genome)
mdb.commit()

On Wed, Jan 6, 2010 at 3:09 PM, Rochak Neupane <roc...@gmail.com> wrote:

> Hi,
> Is there a way I can create a resource that simply points to another
> resource in the same DataPath?
>
> I'd like to create say: Bio.Seq.Genome.test_genome
> and create Bio.Seq.Genome.real_genome which, if requested, simply
> gives back Bio.Seq.Genome.test_genome
>
> Thanks!
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "pygr-dev" group.
> To post to this group, send email to pygr-...@googlegroups.com.
> To unsubscribe from this group, send email to
> pygr-dev+unsubscr...@googlegroups.com<pygr-dev%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/pygr-dev?hl=en.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "pygr-dev" group.
To post to this group, send email to pygr-...@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.

Reply via email to