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

Commit 17a04d7

Browse files
author
Travis Scrimshaw
committed
Added deprecatd classes back with warnings.
1 parent 538c594 commit 17a04d7

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
from rigged_configurations import HighestWeightRiggedConfigurations
12
from rigged_configurations import RiggedConfigurations
23
from tensor_product_kr_tableaux import TensorProductOfKirillovReshetikhinTableaux
4+
from tensor_product_kr_tableaux import HighestWeightTensorProductOfKirillovReshetikhinTableaux
35
from kr_tableaux import KirillovReshetikhinTableaux
46

src/sage/combinat/rigged_configurations/rigged_configurations.py

+22
Original file line numberDiff line numberDiff line change
@@ -1772,3 +1772,25 @@ def from_virtual(self, vrc):
17721772
return self.element_class(self, partition_list=partitions,
17731773
rigging_list=riggings, vacancy_numbers_list=vac_nums)
17741774

1775+
def HighestWeightRiggedConfigurations(cartan_type, B):
1776+
"""
1777+
Deprecated in :trac:`13872`. Use instead the attribute
1778+
``module_generators`` of :class:`RiggedConfigurations`.
1779+
1780+
EXAMPLES::
1781+
1782+
sage: HighestWeightRiggedConfigurations(['A',2,1], [[1,1]])
1783+
doctest:...: DeprecationWarning: this class is deprecated.
1784+
Use RiggedConfigurations(cartan_type, B).module_generators instead
1785+
See http://trac.sagemath.org/13872 for details.
1786+
(
1787+
(/)
1788+
<BLANKLINE>
1789+
(/)
1790+
,)
1791+
"""
1792+
from sage.misc.superseded import deprecation
1793+
deprecation(13872, 'this class is deprecated. Use RiggedConfigurations('
1794+
'cartan_type, B).module_generators instead')
1795+
return RiggedConfigurations(cartan_type, B).module_generators
1796+

src/sage/combinat/rigged_configurations/tensor_product_kr_tableaux.py

+17
Original file line numberDiff line numberDiff line change
@@ -454,3 +454,20 @@ def tensor_product_of_kirillov_reshetikhin_crystals(self):
454454

455455
TensorProductOfKirillovReshetikhinTableaux.Element = TensorProductOfKirillovReshetikhinTableauxElement
456456

457+
def HighestWeightTensorProductOfKirillovReshetikhinTableaux(cartan_type, B):
458+
"""
459+
Deprecated in :trac:`13872`. Use instead the attribute
460+
``module_generators`` of :class:`TensorProductOfKirillovReshetikhinTableaux`.
461+
462+
EXAMPLES::
463+
464+
sage: HighestWeightTensorProductOfKirillovReshetikhinTableaux(['A',2,1], [[1,1]])
465+
doctest:...: DeprecationWarning: this class is deprecated.
466+
Use TensorProductOfKirillovReshetikhinTableaux(cartan_type, B).module_generators instead
467+
See http://trac.sagemath.org/13872 for details.
468+
Highest weight elements of Tensor product of Kirillov-Reshetikhin tableaux of type ['A', 2, 1] and factor(s) ((1, 1),)
469+
"""
470+
from sage.misc.superseded import deprecation
471+
deprecation(13872, 'this class is deprecated. Use TensorProductOfKirillovReshetikhinTableaux('
472+
'cartan_type, B).module_generators instead')
473+
return TensorProductOfKirillovReshetikhinTableaux(cartan_type, B).module_generators

0 commit comments

Comments
 (0)