diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 09:50:43 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 09:50:43 +0200 |
| commit | 6d37f43e58f3ab6595d8769f3c5204ee164eafef (patch) | |
| tree | fe7c13fccd0e25639f649d6c1698eb74e8df263a | |
| parent | 9260319e7411ff8281700a532caa436f40120ec4 (diff) | |
| download | qemu-analysis-6d37f43e58f3ab6595d8769f3c5204ee164eafef.tar.gz qemu-analysis-6d37f43e58f3ab6595d8769f3c5204ee164eafef.zip | |
fix test-script: exclude readme
| -rw-r--r-- | classification/test.py | 3 |
1 files changed, 3 insertions, 0 deletions
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() |