From ed4dbac2be9463a7a4dd6506ab5ee17f3813f497 Mon Sep 17 00:00:00 2001 From: Caroline D <108160931+CarolineDenis@users.noreply.github.com> Date: Wed, 23 Oct 2024 08:28:04 -0700 Subject: [PATCH] Simplify tree ranks name --- specifyweb/specify/tree_ranks.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/specifyweb/specify/tree_ranks.py b/specifyweb/specify/tree_ranks.py index c992443c0b..a0609402db 100644 --- a/specifyweb/specify/tree_ranks.py +++ b/specifyweb/specify/tree_ranks.py @@ -80,14 +80,10 @@ TECTONIC_UNIT_RANKS = { 'root': 0, 'superstructure': 10, - 'tectonic_domain': 20, - 'tectonic_subdomain': 30, - 'tectonic_unit': 40, - 'tectonic_subunit': 50, - 'tectonic domain': 20, - 'tectonic subdomain': 30, - 'tectonic unit': 40, - 'tectonic subunit': 50 + 'domain': 20, + 'subdomain': 30, + 'unit': 40, + 'subunit': 50, } DEFAULT_RANK_INCREMENT = 100