#17950: make modular_decomposition an optional spkg
-------------------------+-------------------------------------------------
Reporter: | Owner:
ncohen | Status: needs_review
Type: | Milestone: sage-6.6
enhancement | Resolution:
Priority: major | Merged in:
Component: graph | Reviewers:
theory | Work issues:
Keywords: | Commit:
Authors: | 894556fe81b9031df978490c0faac643fad8991e
Nathann Cohen | Stopgaps:
Report Upstream: N/A |
Branch: |
public/17950 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by dcoudert):
I can now start sage. We are making progress ;)
But, before trying to install the package, I did:
{{{
./sage -t src/sage/graphs/graph.py
**********************************************************************
File "src/sage/graphs/graph.py", line 6505, in
sage.graphs.graph.Graph.is_prime
Failed example:
graphs.PetersenGraph().is_prime()
Exception raised:
Traceback (most recent call last):
File "/Users/dcoudert/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 492, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Users/dcoudert/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 854, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.graphs.graph.Graph.is_prime[0]>", line 1, in
<module>
graphs.PetersenGraph().is_prime()
File "/Users/dcoudert/sage/local/lib/python2.7/site-
packages/sage/graphs/graph.py", line 6516, in is_prime
D = self.modular_decomposition()
File "/Users/dcoudert/sage/local/lib/python2.7/site-
packages/sage/graphs/graph.py", line 6480, in modular_decomposition
raise RuntimeError("In order to use this method you must "
RuntimeError: In order to use this method you must install the
modular_decomposition package
**********************************************************************
File "src/sage/graphs/graph.py", line 6507, in
sage.graphs.graph.Graph.is_prime
Failed example:
graphs.BullGraph().is_prime()
Exception raised:
Traceback (most recent call last):
File "/Users/dcoudert/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 492, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Users/dcoudert/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 854, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.graphs.graph.Graph.is_prime[1]>", line 1, in
<module>
graphs.BullGraph().is_prime()
File "/Users/dcoudert/sage/local/lib/python2.7/site-
packages/sage/graphs/graph.py", line 6516, in is_prime
D = self.modular_decomposition()
File "/Users/dcoudert/sage/local/lib/python2.7/site-
packages/sage/graphs/graph.py", line 6480, in modular_decomposition
raise RuntimeError("In order to use this method you must "
RuntimeError: In order to use this method you must install the
modular_decomposition package
**********************************************************************
File "src/sage/graphs/graph.py", line 6512, in
sage.graphs.graph.Graph.is_prime
Failed example:
(graphs.PetersenGraph() + graphs.BullGraph()).is_prime()
Exception raised:
Traceback (most recent call last):
File "/Users/dcoudert/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 492, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Users/dcoudert/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 854, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.graphs.graph.Graph.is_prime[2]>", line 1, in
<module>
(graphs.PetersenGraph() + graphs.BullGraph()).is_prime()
File "/Users/dcoudert/sage/local/lib/python2.7/site-
packages/sage/graphs/graph.py", line 6516, in is_prime
D = self.modular_decomposition()
File "/Users/dcoudert/sage/local/lib/python2.7/site-
packages/sage/graphs/graph.py", line 6480, in modular_decomposition
raise RuntimeError("In order to use this method you must "
RuntimeError: In order to use this method you must install the
modular_decomposition package
**********************************************************************
1 item had failures:
3 of 4 in sage.graphs.graph.Graph.is_prime
[657 tests, 3 failures, 13.19 s]
----------------------------------------------------------------------
sage -t src/sage/graphs/graph.py # 3 doctests failed
----------------------------------------------------------------------
Total time for all tests: 13.5 seconds
cpu time: 9.7 seconds
cumulative wall time: 13.2 seconds
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17950#comment:10>
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.