From 6d37f43e58f3ab6595d8769f3c5204ee164eafef Mon Sep 17 00:00:00 2001 From: Christian Krinitsin Date: Sun, 1 Jun 2025 09:50:43 +0200 Subject: fix test-script: exclude readme --- classification/test.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'classification/test.py') diff --git a/classification/test.py b/classification/test.py index e0db00313..a8bc7e1ee 100644 --- a/classification/test.py +++ b/classification/test.py @@ -4,6 +4,9 @@ directory : str = "./test_input" def test(classifier): for name in listdir(directory): + if name == "README.md": + continue + with open(path.join(directory, name), "r") as file: sequence_to_classify = file.read() -- cgit 1.4.1