Hi Bryan,

Agreed, and fixed in this commit:

https://github.com/ncsaba/python-brlcad/commit/c89f401c08f7de2c5dda3c09c14984cccab788b7

Cheers,
Csaba

On Mi, 2014-02-12 at 07:42 -0800, Bryan Bishop wrote:
> In brlcad/primitives/combination.py:
> 
> > +
> > +
> > +def wrap_tree(*args):
> > +    if len(args) == 1:
> > +        args = args[0]
> > +    if isinstance(args, (list, tuple)):
> > +        if len(args) == 1 or (len(args) == 2 and isinstance(args[1], Transform)):
> > +            return leaf(args)
> > +        else:
> > +            return union(*args)
> > +    else:
> > +        return leaf(args)
> > +
> > +
> > +def leaf(*args):
> > +    return LeafNode(args[0]) if len(args) == 1 and not isinstance(args, str) else LeafNode(args)
> 
> Heh I think writing this one out on multiple lines might be the way to
> go :-).
> 
> —
> Reply to this email directly or view it on GitHub.
>