#18755: Add elementary and infinity crystals to Thematic Tutorial on crystals
-------------------------------------+-------------------------------------
       Reporter:  bsalisbury1        |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.8
      Component:  combinatorics      |   Resolution:
       Keywords:  crystals,          |    Merged in:
  thematic tutorial                  |    Reviewers:
        Authors:  Ben Salisbury      |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  a6661eb770628f9450330b91171c5e759cfc6f9a
  u/bsalisbury1/Binf_tutorial        |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by aschilling):

 Hi Ben,

 I get quite a few doc test failures with the current branch
 {{{
 sage -t elementary_crystals.rst
 **********************************************************************
 File "elementary_crystals.rst", line 42, in
 doc.en.thematic_tutorials.lie.elementary_crystals
 Failed example:
     for x in B:
     print x.weight() + T[0].weight()
 Exception raised:
     Traceback (most recent call last):
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 496, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 856, in compile_and_execute
         compiled = compiler(example)
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 494, in <lambda>
         example.source, filename, "single", compileflags, 1)
       File "<doctest
 doc.en.thematic_tutorials.lie.elementary_crystals[4]>", line 2
         print x.weight() + T[Integer(0)].weight()
             ^
     IndentationError: expected an indented block
 **********************************************************************
 File "elementary_crystals.rst", line 96, in
 doc.en.thematic_tutorials.lie.elementary_crystals
 Failed example:
     b = BB(C[0],T[0])
 Exception raised:
     Traceback (most recent call last):
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 496, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 858, in compile_and_execute
         exec(compiled, globs)
       File "<doctest
 doc.en.thematic_tutorials.lie.elementary_crystals[5]>", line 1, in
 <module>
         b = BB(C[Integer(0)],T[Integer(0)])
     NameError: name 'BB' is not defined
 **********************************************************************
 File "elementary_crystals.rst", line 97, in
 doc.en.thematic_tutorials.lie.elementary_crystals
 Failed example:
     for i in B.index_set(): print b.epsilon(i)
 Exception raised:
     Traceback (most recent call last):
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 496, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 858, in compile_and_execute
         exec(compiled, globs)
       File "<doctest
 doc.en.thematic_tutorials.lie.elementary_crystals[6]>", line 1, in
 <module>
         for i in B.index_set(): print b.epsilon(i)
     NameError: name 'b' is not defined
 **********************************************************************
 File "elementary_crystals.rst", line 100, in
 doc.en.thematic_tutorials.lie.elementary_crystals
 Failed example:
     for i in B.index_set(): print b.phi(i)
 Exception raised:
     Traceback (most recent call last):
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 496, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 858, in compile_and_execute
         exec(compiled, globs)
       File "<doctest
 doc.en.thematic_tutorials.lie.elementary_crystals[7]>", line 1, in
 <module>
         for i in B.index_set(): print b.phi(i)
     NameError: name 'b' is not defined
 **********************************************************************
 File "elementary_crystals.rst", line 103, in
 doc.en.thematic_tutorials.lie.elementary_crystals
 Failed example:
     for i in B.index_set(): print b.f(i)
 Exception raised:
     Traceback (most recent call last):
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 496, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 858, in compile_and_execute
         exec(compiled, globs)
       File "<doctest
 doc.en.thematic_tutorials.lie.elementary_crystals[8]>", line 1, in
 <module>
         for i in B.index_set(): print b.f(i)
     NameError: name 'b' is not defined
 **********************************************************************
 File "elementary_crystals.rst", line 106, in
 doc.en.thematic_tutorials.lie.elementary_crystals
 Failed example:
     for i in B.index_set(): print b.e(i)
 Exception raised:
     Traceback (most recent call last):
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 496, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/Applications/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 858, in compile_and_execute
         exec(compiled, globs)
       File "<doctest
 doc.en.thematic_tutorials.lie.elementary_crystals[9]>", line 1, in
 <module>
         for i in B.index_set(): print b.e(i)
     NameError: name 'b' is not defined
 }}}

 Anne

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

Reply via email to