#19098: implement Taylor 2-graphs for U_3(q) and related srg's
-------------------------------------+-------------------------------------
Reporter: dimpase | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.9
Component: graph theory | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/dimpase/taylor2graphs | 773d10d2b417f72829fcf0556f2426bd02cd0efb
Dependencies: #18972, #18997, | Stopgaps:
#19099 |
-------------------------------------+-------------------------------------
Comment (by dimpase):
Replying to [comment:10 ncohen]:
> > Any idea? Otherwise, the ticket is ready...
>
> What do you think of bug reports which say "that does not work" and do
not say what's wrong?
well, I was wondering whether what I tried was totally silly...
Anyhow, here is what I get after this change:
{{{
sage -t twographs.py
**********************************************************************
File "twographs.py", line 78, in
sage.combinat.designs.twographs.TwoGraph.__init__
Failed example:
TwoGraph([[1,2]])
Exception raised:
Traceback (most recent call last):
File "/home/dima/software/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/dima/software/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.combinat.designs.twographs.TwoGraph.__init__[1]>", line 1, in
<module>
TwoGraph([[Integer(1),Integer(2)]])
File "/home/dima/software/sage/local/lib/python2.7/site-
packages/sage/combinat/designs/twographs.py", line 88, in __init__
IncidenceStructure.__init__(self, check=False, **kwds)
File "/home/dima/software/sage/local/lib/python2.7/site-
packages/sage/combinat/designs/incidence_structures.py", line 241, in
__init__
self._points = sorted(points)
TypeError: 'NoneType' object is not iterable
**********************************************************************
File "twographs.py", line 80, in
sage.combinat.designs.twographs.TwoGraph.__init__
Failed example:
TwoGraph([[1,2]], check=True)
Expected:
Traceback (most recent call last):
...
AssertionError: the structure is not a 2-graph!
Got:
<BLANKLINE>
Traceback (most recent call last):
File "/home/dima/software/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/dima/software/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.combinat.designs.twographs.TwoGraph.__init__[2]>", line 1, in
<module>
TwoGraph([[Integer(1),Integer(2)]], check=True)
TypeError: __init__() got multiple values for keyword argument 'check'
**********************************************************************
File "twographs.py", line 84, in
sage.combinat.designs.twographs.TwoGraph.__init__
Failed example:
p=graphs.PetersenGraph().twograph()
...
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19098#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.