From bc947e4f8364a9bb6b9d4e3ac86de1b578983053 Mon Sep 17 00:00:00 2001 From: jjmccollum Date: Thu, 2 Jan 2025 00:08:40 +1100 Subject: [PATCH] :zap: Updated number of STEMMA states to 62 in line with latest update --- teiphy/collation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teiphy/collation.py b/teiphy/collation.py index 6ae60ab..0ee0c84 100644 --- a/teiphy/collation.py +++ b/teiphy/collation.py @@ -1988,8 +1988,8 @@ def get_stemma_symbols(self): A list of individual characters representing states in readings. """ possible_symbols = ( - list(string.digits) + list(string.ascii_lowercase)[:12] - ) # NOTE: the maximum number of symbols allowed in STEMMA format is 22 + list(string.digits) + list(string.ascii_lowercase) + list(string.ascii_uppercase) + ) # NOTE: the maximum number of symbols allowed in STEMMA format (other than "?" and "-") is 62 # The number of symbols needed is equal to the length of the longest substantive reading vector: nsymbols = 0 # If there are no witnesses, then no symbols are needed at all: