Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge branch 'public/combinat/crystals/catalog-15882' into public/com…
Browse files Browse the repository at this point in the history
…binat/rigged_configurations/methods-15560

* public/combinat/crystals/catalog-15882:
  Fixed doctest failures in rigged_configurations folder.
  • Loading branch information
Travis Scrimshaw committed Mar 23, 2014
2 parents ac1dcd5 + 2cc751e commit 3be2a08
Show file tree
Hide file tree
Showing 15 changed files with 179 additions and 179 deletions.
4 changes: 2 additions & 2 deletions src/sage/combinat/rigged_configurations/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

lazy_import('sage.combinat.rigged_configurations.tensor_product_kr_tableaux',
'TensorProductOfKirillovReshetikhinTableaux',
deprecation=(15882, "this is being removed from the global namespace. Use crystals.kirillov_reshetikhin.TensorProductOfKirillovReshetikhinTableaux instead"))
deprecation=(15882, "this is being removed from the global namespace. Use crystals.TensorProductOfKirillovReshetikhinTableaux instead"))

lazy_import('sage.combinat.rigged_configurations.kr_tableaux',
'KirillovReshetikhinTableaux',
deprecation=(15882, "this is being removed from the global namespace. Use crystals.kirillov_reshetikhin.KirillovReshetikhinTableaux instead"))
deprecation=(15882, "this is being removed from the global namespace. Use crystals.KirillovReshetikhin with model='KR' instead"))

12 changes: 6 additions & 6 deletions src/sage/combinat/rigged_configurations/bij_abstract_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, tp_krt):
EXAMPLES::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_A import KRTToRCBijectionTypeA
sage: bijection = KRTToRCBijectionTypeA(KRT(pathlist=[[3,1]]))
sage: TestSuite(bijection).run()
Expand All @@ -81,7 +81,7 @@ def __eq__(self, rhs):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_A import KRTToRCBijectionTypeA
sage: bijection = KRTToRCBijectionTypeA(KRT(pathlist=[[5,3]]))
sage: bijection2 = KRTToRCBijectionTypeA(KRT(pathlist=[[5,3]]))
Expand All @@ -104,7 +104,7 @@ def run(self, verbose=False):
EXAMPLES::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2, 1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2, 1]])
sage: from sage.combinat.rigged_configurations.bij_type_A import KRTToRCBijectionTypeA
sage: KRTToRCBijectionTypeA(KRT(pathlist=[[5,2]])).run()
<BLANKLINE>
Expand Down Expand Up @@ -178,7 +178,7 @@ def next_state(self, val):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_A import KRTToRCBijectionTypeA
sage: bijection = KRTToRCBijectionTypeA(KRT(pathlist=[[5,3]]))
sage: bijection.cur_path.insert(0, [])
Expand Down Expand Up @@ -211,7 +211,7 @@ def _update_vacancy_nums(self, a):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_abstract_class import KRTToRCBijectionAbstract
sage: bijection = KRTToRCBijectionAbstract(KRT(pathlist=[[3,2]]))
sage: bijection._update_vacancy_nums(2)
Expand Down Expand Up @@ -250,7 +250,7 @@ def _update_partition_values(self, a):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_abstract_class import KRTToRCBijectionAbstract
sage: bijection = KRTToRCBijectionAbstract(KRT(pathlist=[[5,2]]))
sage: bijection._update_partition_values(2)
Expand Down
4 changes: 2 additions & 2 deletions src/sage/combinat/rigged_configurations/bij_type_A.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_A import KRTToRCBijectionTypeA
sage: bijection = KRTToRCBijectionTypeA(KRT(pathlist=[[5,2]]))
sage: TestSuite(bijection).run()
Expand Down Expand Up @@ -51,7 +51,7 @@ def next_state(self, val):
EXAMPLES::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_A import KRTToRCBijectionTypeA
sage: bijection = KRTToRCBijectionTypeA(KRT(pathlist=[[4,3]]))
sage: bijection.cur_path.insert(0, [])
Expand Down
4 changes: 2 additions & 2 deletions src/sage/combinat/rigged_configurations/bij_type_A2_dual.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(CartanType(['A', 4, 2]).dual(), [[2, 1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(CartanType(['A', 4, 2]).dual(), [[2, 1]])
sage: from sage.combinat.rigged_configurations.bij_type_A2_dual import KRTToRCBijectionTypeA2Dual
sage: bijection = KRTToRCBijectionTypeA2Dual(KRT(pathlist=[[2,1]]))
sage: TestSuite(bijection).run()
Expand Down Expand Up @@ -56,7 +56,7 @@ def next_state(self, val):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(CartanType(['A', 4, 2]).dual(), [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(CartanType(['A', 4, 2]).dual(), [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_A2_dual import KRTToRCBijectionTypeA2Dual
sage: bijection = KRTToRCBijectionTypeA2Dual(KRT(pathlist=[[-1,2]]))
sage: bijection.cur_path.insert(0, [])
Expand Down
4 changes: 2 additions & 2 deletions src/sage/combinat/rigged_configurations/bij_type_A2_even.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 4, 2], [[2, 1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 4, 2], [[2, 1]])
sage: from sage.combinat.rigged_configurations.bij_type_A2_even import KRTToRCBijectionTypeA2Even
sage: bijection = KRTToRCBijectionTypeA2Even(KRT(pathlist=[[-1,2]]))
sage: TestSuite(bijection).run()
Expand Down Expand Up @@ -54,7 +54,7 @@ def next_state(self, val):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 4, 2], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 4, 2], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_A2_even import KRTToRCBijectionTypeA2Even
sage: bijection = KRTToRCBijectionTypeA2Even(KRT(pathlist=[[-1,-2]]))
sage: bijection.cur_path.insert(0, [])
Expand Down
4 changes: 2 additions & 2 deletions src/sage/combinat/rigged_configurations/bij_type_A2_odd.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 5, 2], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 5, 2], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_A2_odd import KRTToRCBijectionTypeA2Odd
sage: bijection = KRTToRCBijectionTypeA2Odd(KRT(pathlist=[[-1,2]]))
sage: TestSuite(bijection).run()
Expand Down Expand Up @@ -53,7 +53,7 @@ def next_state(self, val):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 5, 2], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 5, 2], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_A2_odd import KRTToRCBijectionTypeA2Odd
sage: bijection = KRTToRCBijectionTypeA2Odd(KRT(pathlist=[[-2,3]]))
sage: bijection.cur_path.insert(0, [])
Expand Down
8 changes: 4 additions & 4 deletions src/sage/combinat/rigged_configurations/bij_type_B.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['B', 3, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['B', 3, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_B import KRTToRCBijectionTypeB
sage: bijection = KRTToRCBijectionTypeB(KRT(pathlist=[[-1,2]]))
sage: TestSuite(bijection).run()
Expand Down Expand Up @@ -59,7 +59,7 @@ def run(self, verbose=False):
EXAMPLES::
sage: from sage.combinat.rigged_configurations.bij_type_B import KRTToRCBijectionTypeB
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['B', 3, 1], [[2, 1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['B', 3, 1], [[2, 1]])
sage: KRTToRCBijectionTypeB(KRT(pathlist=[[0,3]])).run()
<BLANKLINE>
0[ ]0
Expand All @@ -69,7 +69,7 @@ def run(self, verbose=False):
<BLANKLINE>
0[]0
<BLANKLINE>
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['B', 3, 1], [[3, 1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['B', 3, 1], [[3, 1]])
sage: KRTToRCBijectionTypeB(KRT(pathlist=[[-2,3,1]])).run()
<BLANKLINE>
(/)
Expand Down Expand Up @@ -237,7 +237,7 @@ def next_state(self, val):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['B', 3, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['B', 3, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_B import KRTToRCBijectionTypeB
sage: bijection = KRTToRCBijectionTypeB(KRT(pathlist=[[-1,2]]))
sage: bijection.cur_path.insert(0, [])
Expand Down
6 changes: 3 additions & 3 deletions src/sage/combinat/rigged_configurations/bij_type_C.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['C', 3, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['C', 3, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_C import KRTToRCBijectionTypeC
sage: bijection = KRTToRCBijectionTypeC(KRT(pathlist=[[-1,2]]))
sage: TestSuite(bijection).run()
Expand Down Expand Up @@ -53,7 +53,7 @@ def next_state(self, val):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['C', 3, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['C', 3, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_C import KRTToRCBijectionTypeC
sage: bijection = KRTToRCBijectionTypeC(KRT(pathlist=[[-1,2]]))
sage: bijection.cur_path.insert(0, [])
Expand Down Expand Up @@ -132,7 +132,7 @@ def _insert_cell_case_S(self, partition):
<BLANKLINE>
sage: RP.rigging[0] = None
sage: from sage.combinat.rigged_configurations.bij_type_C import KRTToRCBijectionTypeC
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['C', 3, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['C', 3, 1], [[2,1]])
sage: bijection = KRTToRCBijectionTypeC(KRT(pathlist=[[-1,2]]))
sage: bijection._insert_cell_case_S(RP)
sage: RP
Expand Down
12 changes: 6 additions & 6 deletions src/sage/combinat/rigged_configurations/bij_type_D.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['D', 4, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['D', 4, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_D import KRTToRCBijectionTypeD
sage: bijection = KRTToRCBijectionTypeD(KRT(pathlist=[[3, 2]]))
sage: TestSuite(bijection).run()
Expand Down Expand Up @@ -61,7 +61,7 @@ def run(self, verbose=False):
EXAMPLES::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['D', 4, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['D', 4, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_D import KRTToRCBijectionTypeD
sage: KRTToRCBijectionTypeD(KRT(pathlist=[[-3,2]])).run()
<BLANKLINE>
Expand Down Expand Up @@ -147,7 +147,7 @@ def next_state(self, val):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['D', 4, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['D', 4, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_D import KRTToRCBijectionTypeD
sage: bijection = KRTToRCBijectionTypeD(KRT(pathlist=[[5,3]]))
sage: bijection.cur_path.insert(0, [])
Expand Down Expand Up @@ -296,7 +296,7 @@ def _correct_vacancy_nums(self):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['D', 4, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['D', 4, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_D import KRTToRCBijectionTypeD
sage: bijection = KRTToRCBijectionTypeD(KRT(pathlist=[[-1,4,3,2]]))
sage: bijection.doubling_map()
Expand Down Expand Up @@ -336,7 +336,7 @@ def doubling_map(self):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['D', 4, 1], [[4,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['D', 4, 1], [[4,1]])
sage: from sage.combinat.rigged_configurations.bij_type_D import KRTToRCBijectionTypeD
sage: bijection = KRTToRCBijectionTypeD(KRT(pathlist=[[-1,4,3,2]]))
sage: bijection.cur_path.insert(0, [])
Expand Down Expand Up @@ -388,7 +388,7 @@ def halving_map(self):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['D', 4, 1], [[4,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['D', 4, 1], [[4,1]])
sage: from sage.combinat.rigged_configurations.bij_type_D import KRTToRCBijectionTypeD
sage: bijection = KRTToRCBijectionTypeD(KRT(pathlist=[[-1,4,3,2]]))
sage: bijection.cur_path.insert(0, [])
Expand Down
6 changes: 3 additions & 3 deletions src/sage/combinat/rigged_configurations/bij_type_D_twisted.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['D', 4, 2], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['D', 4, 2], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_D_twisted import KRTToRCBijectionTypeDTwisted
sage: bijection = KRTToRCBijectionTypeDTwisted(KRT(pathlist=[[-1,2]]))
sage: TestSuite(bijection).run()
Expand Down Expand Up @@ -63,7 +63,7 @@ def run(self, verbose=False):
EXAMPLES::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['D', 4, 2], [[3,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['D', 4, 2], [[3,1]])
sage: from sage.combinat.rigged_configurations.bij_type_D_twisted import KRTToRCBijectionTypeDTwisted
sage: KRTToRCBijectionTypeDTwisted(KRT(pathlist=[[-1,3,2]])).run()
<BLANKLINE>
Expand Down Expand Up @@ -145,7 +145,7 @@ def next_state(self, val):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['D', 4, 2], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['D', 4, 2], [[2,1]])
sage: from sage.combinat.rigged_configurations.bij_type_D_twisted import KRTToRCBijectionTypeDTwisted
sage: bijection = KRTToRCBijectionTypeDTwisted(KRT(pathlist=[[-1,2]]))
sage: bijection.cur_path.insert(0, [])
Expand Down
2 changes: 1 addition & 1 deletion src/sage/combinat/rigged_configurations/bijection.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def KRTToRCBijection(tp_krt):
TESTS::
sage: KRT = TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: KRT = crystals.TensorProductOfKirillovReshetikhinTableaux(['A', 4, 1], [[2,1]])
sage: from sage.combinat.rigged_configurations.bijection import KRTToRCBijection
sage: bijection = KRTToRCBijection(KRT(pathlist=[[5,2]]))
"""
Expand Down
Loading

0 comments on commit 3be2a08

Please sign in to comment.