#5937: graph theory -- showing the result of a database query with_picture=True
is
totally broken
--------------------------+-------------------------------------------------
Reporter: was | Owner: rlm
Type: defect | Status: new
Priority: major | Milestone: sage-4.0
Component: graph theory | Keywords:
--------------------------+-------------------------------------------------
Here is *yet another* example of non-tested code being totally broken.
Try this in the notebook.
{{{
Q = GraphQuery(display_cols=['graph6','num_vertices','degree_sequence'],
num_edges=['<=',5],min_degree=1)
Q.show(with_picture=True)
}}}
this silently outputs absolutely nothing.
The doctests don't test this -- they only test that this fails (with a
message) on the command line.
Shorterm fix: completely remove this option from the documentation and
code.
Lonterm fix: actually track down and fix the bug -- this would be nice,
since I know the output looks good (I've seen Emily demo it).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5937>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---