#15882: Implement a catalog for crystals
-------------------------------------+-------------------------------------
Reporter: tscrim | Owner: sage-combinat
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.2
Component: combinatorics | Resolution:
Keywords: crystals catalog | Merged in:
Authors: Travis Scrimshaw | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/combinat/crystals/catalog | 207f38e8414c0e2fd7d79badfd8a17a6792ca4ba
Dependencies: #14275 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by aschilling):
I still get doctest failures
{{{
sage -t crystals.py
**********************************************************************
File "crystals.py", line 206, in
sage.combinat.crystals.crystals.CrystalBacktracker._rec
Failed example:
C = crystal.Letters(['A', 5])
Exception raised:
Traceback (most recent call last):
File "/Applications/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 480, in _run
self.execute(example, compiled, test.globs)
File "/Applications/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 839, in execute
exec compiled in globs
File "<doctest
sage.combinat.crystals.crystals.CrystalBacktracker._rec[1]>", line 1, in
<module>
C = crystal.Letters(['A', Integer(5)])
NameError: name 'crystal' is not defined
**********************************************************************
File "crystals.py", line 207, in
sage.combinat.crystals.crystals.CrystalBacktracker._rec
Failed example:
CB = CrystalBacktracker(C)
Exception raised:
Traceback (most recent call last):
File "/Applications/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 480, in _run
self.execute(example, compiled, test.globs)
File "/Applications/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 839, in execute
exec compiled in globs
File "<doctest
sage.combinat.crystals.crystals.CrystalBacktracker._rec[2]>", line 1, in
<module>
CB = CrystalBacktracker(C)
NameError: name 'C' is not defined
**********************************************************************
File "crystals.py", line 208, in
sage.combinat.crystals.crystals.CrystalBacktracker._rec
Failed example:
list(CB._rec(C(1), 'n/a'))
Exception raised:
Traceback (most recent call last):
File "/Applications/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 480, in _run
self.execute(example, compiled, test.globs)
File "/Applications/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 839, in execute
exec compiled in globs
File "<doctest
sage.combinat.crystals.crystals.CrystalBacktracker._rec[3]>", line 1, in
<module>
list(CB._rec(C(Integer(1)), 'n/a'))
NameError: name 'CB' is not defined
**********************************************************************
}}}
Aren't you running the tests before you post your new commits?
--
Ticket URL: <http://trac.sagemath.org/ticket/15882#comment:26>
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.