Thank you. I overlooked this parameter which I now see is clearly documented
in the PyTables manual.

Todd
On Wed, Mar 2, 2011 at 10:52 AM, Tony Theodore <to...@logyst.com> wrote:

>  On 2 March 2011 04:25, Todd Matthews <mtoddmatth...@gmail.com> wrote:
> > I was hoping that createGroups() would create both parent and child
> groups
> > as needed. For instance,
> >
> > createGroup(h5.root, 'parentGroup/childGroup')
> >
> > with the parentGroup being created if necessary along with creation of
> the
> > childGroup. If the parent group already exist, then only the childGroup
> > would be created.
> >
> > It does not work this way and perhaps I am missing something basic. Of
> > course, I can create the groups in stages but was hoping to streamline
> the
> > code without having to check for existance at each level.
> >
> > Thanks for any guidance.
>
> Try the createparents parameter, it defaults to false.
>
> help(tables.File.createGroup)
>
> Help on method createGroup in module tables.file:
>
> createGroup(self, where, name, title='', filters=None, createparents=False)
>
> Cheers,
>
> Tony
>
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to