[sage-combinat-devel] Import error using recusive trees

2015-02-10 Thread Henrik Sperre Sundklakk
I am implementing unordered rooted trees in Sage (to use them in B-series). When trying to iinherit from sage.combinat.abstract_tree.AbstractClonableTree I get an ImportError. I have successfully called OrderedTrees() from the notebook, so my Sage installation is sound. The problem occurs when

Re: [sage-combinat-devel] Import error using recusive trees

2015-02-10 Thread Viviane Pons
Hi, I don't know about your import error. But I just wanted to say than unordered trees were implemented a while ago but never finished... Here's the ticket: http://trac.sagemath.org/ticket/11529 I'm not saying you should use those, maybe it's better to start from scratch, but it's always good

Re: [sage-combinat-devel] Import error using recusive trees

2015-02-10 Thread Nicolas M. Thiery
Dear Henrik, On Tue, Feb 10, 2015 at 03:50:01AM -0800, Henrik Sperre Sundklakk wrote: >I am implementing unordered rooted trees in Sage (to use them in >B-series). When trying to iinherit from >sage.combinat.abstract_tree.AbstractClonableTree I get an ImportError. >I have s

Re: [sage-combinat-devel] Import error using recusive trees

2015-02-10 Thread Henrik Sperre Sundklakk
Thanks a lot to both of you. The trick with "import sage.all" worked nicely. Regarding the existing implementation of unordered rooted trees, it looks very much like what I need. Some of the programming is a bit over my head, so I don't think I'll be able to finish the implementation. Do you kno

Re: [sage-combinat-devel] Import error using recusive trees

2015-02-10 Thread Viviane Pons
Hi, from what I remember, it was finished but depended on this one: http://trac.sagemath.org/ticket/10194 Which is also "almost finished" but still not... These two tickets come from the old combinat queue (when Sage wasn't on git yet) and were shared among combinat people without being merged,