about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPjotr Prins2026-04-06 09:56:19 +0200
committerPjotr Prins2026-04-06 09:56:19 +0200
commit5c28db960087ddb282a13e4dd2c3a3dd5c4cc207 (patch)
tree9ad25910b7eb303201202d3f87ce4264f58c5fab
parent5f4cef3640f84092e5692e16865002a832b7838c (diff)
downloadgenecup-5c28db960087ddb282a13e4dd2c3a3dd5c4cc207.tar.gz
Add aliases
-rw-r--r--tests/test_network_gemini_ontology.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_network_gemini_ontology.py b/tests/test_network_gemini_ontology.py
index 4a9db34..2a84909 100644
--- a/tests/test_network_gemini_ontology.py
+++ b/tests/test_network_gemini_ontology.py
@@ -21,7 +21,7 @@ PROMPT = (
     aliases and synonyms as well as gene names. Each term should be
     1-3 words (max).  Give me a list of at least 20, but no more than
     80, most used terms.  Return only the terms, one per line, no
-    numbering."""
+    numbering. Add abbreviations and aliases as a list with each term, separated by commas"""
 )
 
 class TestGeminiOntology(unittest.TestCase):
@@ -40,8 +40,6 @@ class TestGeminiOntology(unittest.TestCase):
                              f"Expected at most 80 terms, got {len(terms)}")
         # Each term should be short (1-3 words, allow some slack)
         long_terms = [t for t in terms if len(t.split()) > 5]
-        self.assertEqual(len(long_terms), 0,
-                         f"Terms too long: {long_terms}")
 
     def test_2_cached_ontology(self):
         """Second call should use cache and be fast."""