Commit 810bfab
committed
Use mhctools.best_direction; bump floor to 3.14.1
mhctools 3.14.1 ships ``best_direction(kind, field)`` (openvax/mhctools#212,
closes #211). Drop topiary's local ``_BEST_FIELD_DIRECTIONS`` /
``_BEST_VALUE_DIRECTIONS`` / ``_best_direction`` and import the
canonical helper instead — the direction table is mhctools-canonical
metadata and shouldn't live in two places.
- ``topiary/ranking/nodes.py``: replace the local table + helper with
``from mhctools import best_direction as _best_direction``.
- ``requirements.txt``: bump mhctools floor 3.13.7 → 3.14.1.
- ``tests/test_best_allele.py``: match the upstream error message
("best_direction undefined" instead of "best_value direction is
undefined").
- Bump topiary 5.12.0 → 5.13.0 (additive minor — the mhctools floor
bump tightens deps, but no public API change).1 parent e7436d8 commit 810bfab
4 files changed
Lines changed: 11 additions & 49 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
| 238 | + | |
238 | 239 | | |
239 | 240 | | |
240 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
742 | 730 | | |
743 | 731 | | |
744 | 732 | | |
745 | 733 | | |
746 | 734 | | |
747 | 735 | | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | 736 | | |
776 | 737 | | |
777 | 738 | | |
| |||
781 | 742 | | |
782 | 743 | | |
783 | 744 | | |
784 | | - | |
785 | | - | |
786 | | - | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
787 | 748 | | |
788 | 749 | | |
789 | 750 | | |
| |||
0 commit comments