#9731: Export/Import of GML/Graphml/Yaml files through NetworkX
----------------------------+-----------------------------------------------
   Reporter:  ncohen        |       Owner:  jason, ncohen, rlm
       Type:  enhancement   |      Status:  needs_work        
   Priority:  major         |   Milestone:  sage-4.6.1        
  Component:  graph theory  |    Keywords:                    
     Author:                |    Upstream:  N/A               
   Reviewer:                |      Merged:                    
Work_issues:                |  
----------------------------+-----------------------------------------------
Changes (by rlm):

  * status:  needs_review => needs_work


Comment:

 {{{
 sage -t -long ./sage/graphs/generic_graph.py
 **********************************************************************
 File "/home/rlmill/sage-4.6.1.alpha2/devel/sage-
 main/sage/graphs/generic_graph.py", line 14430:
     sage: g.is_isomorphic(h)
 Expected:
     True
 Got:
     False
 **********************************************************************
 File "/home/rlmill/sage-4.6.1.alpha2/devel/sage-
 main/sage/graphs/generic_graph.py", line 14444:
     sage: g.write_yaml(SAGE_TMP+"/g.yml")
 Exception raised:
     Traceback (most recent call last):
       File "/home/rlmill/sage-4.6.1.alpha2/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/home/rlmill/sage-4.6.1.alpha2/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/home/rlmill/sage-4.6.1.alpha2/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_217[3]>", line 1, in <module>
         g.write_yaml(SAGE_TMP+"/g.yml")###line 14444:
     sage: g.write_yaml(SAGE_TMP+"/g.yml")
       File "/home/rlmill/sage-4.6.1.alpha2/local/lib/python/site-
 packages/sage/graphs/generic_graph.py", line 14451, in write_yaml
         networkx.write_yaml(self.networkx_graph(copy = False), filename)
       File
 
"/home/rlmill/sage-4.6.1.alpha2/local/lib/python2.6/networkx/readwrite/nx_yaml.py",
 line 40, in write_yaml
         "write_yaml() requires PyYAML: http://pyyaml.org/ "
     ImportError: write_yaml() requires PyYAML: http://pyyaml.org/
 **********************************************************************
 }}}

 There are more, but...

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