From a6bc116041623276a893b3854dc9b96a9f6628d0 Mon Sep 17 00:00:00 2001 From: Prikshit7766 Date: Mon, 6 Nov 2023 12:51:09 +0530 Subject: [PATCH] updated transform/__init__.py --- langtest/transform/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/langtest/transform/__init__.py b/langtest/transform/__init__.py index aa25e1803..50c63836f 100644 --- a/langtest/transform/__init__.py +++ b/langtest/transform/__init__.py @@ -100,8 +100,8 @@ def transform( all_results = [] all_categories = TestFactory.test_categories() test_names = list(test_types.keys()) - if TestFactory.task is None: - TestFactory.task = task + TestFactory.task = task + if "defaults" in test_names: test_names.pop(test_names.index("defaults")) tests = tqdm(