From 0d02b690bbe10b437ad785e3c7516de63d75b1d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana?= Date: Wed, 17 May 2023 23:05:50 +0200 Subject: [PATCH] Allow to comment datasets in all.txt --- benchmark/Datasets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/benchmark/Datasets.py b/benchmark/Datasets.py index 4f3cd7b..b447d9a 100644 --- a/benchmark/Datasets.py +++ b/benchmark/Datasets.py @@ -133,6 +133,7 @@ class Datasets: self.continuous_features = {} with open(file_name) as f: sets = f.read().splitlines() + sets = [x for x in sets if not x.startswith("#")] class_names = [default_class] * len(sets) if "," in sets[0]: result = []