#13188: Boring paperwork in the graph/ files
---------------------------------+------------------------------------------
       Reporter:  ncohen         |         Owner:  tbd                 
           Type:  enhancement    |        Status:  needs_review        
       Priority:  major          |     Milestone:  sage-5.4            
      Component:  graph theory   |    Resolution:                      
       Keywords:                 |   Work issues:  Patch fails to apply
Report Upstream:  N/A            |     Reviewers:                      
        Authors:  Nathann Cohen  |     Merged in:                      
   Dependencies:  #13073         |      Stopgaps:                      
---------------------------------+------------------------------------------
Changes (by ncohen):

  * status:  needs_work => needs_review


Comment:

 Here it is ! Patch rebased ! And yes, this `{` is supposed to be there...
 I mean, it's just how the graph is encoded `:-)`

 {{{
 sage: Graph('DJ{').size()
 7
 sage: Graph('DJ').size()
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)

 /home/ncohen/.Sage/devel/sage-2/sage/graphs/<ipython console> in
 <module>()

 /home/ncohen/.Sage/local/lib/python2.7/site-packages/sage/graphs/graph.pyc
 in __init__(self, data, pos, loops, format, boundary, weighted,
 implementation, sparse, vertex_labels, name, multiedges,
 convert_empty_dict_labels_to_None)
    1162                 raise RuntimeError("The string (%s) seems corrupt:
 for n = %d, the string is too long."%(ss,n))
    1163             elif len(m) < expected:
 -> 1164                 raise RuntimeError("The string (%s) seems corrupt:
 for n = %d, the string is too short."%(ss,n))
    1165             num_verts = n
    1166         elif format == 'sparse6':

 RuntimeError: The string (DJ) seems corrupt: for n = 5, the string is too
 short.
 }}}

 Nathann

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13188#comment:6>
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 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.

Reply via email to