> >>> It is just that python prints an extra comma at the end of tuples of
> length 1, in order to make it clear that the parentheses represent a tuple.
> For example:
> >>> sage: tuple([tuple([tuple([0])])])
> >>> (((0,),),)
> >>>
> >>> O
Using nauty where the result has a singleton anywhere in the result gives
an incorrectly segmented return. Below are some examples
1 possible construction:
sage: tuple(hypergraphs.nauty(2, 3, uniform=2))
(((0, 1), (0, 2)),)
1 edge
sage: tuple(hypergraphs.nauty(1, 2, uniform=2))
(((0, 1),),)
1 u