From eff5a39af128a3a3813b7d19b56591a6c6d05dd5 Mon Sep 17 00:00:00 2001 From: Tim Miller Date: Fri, 7 Jul 2023 19:11:57 -0400 Subject: [PATCH] Add missing % to string. --- src/cnlpt/cnlp_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cnlpt/cnlp_data.py b/src/cnlpt/cnlp_data.py index 0db96e9b..64cead10 100644 --- a/src/cnlpt/cnlp_data.py +++ b/src/cnlpt/cnlp_data.py @@ -741,7 +741,7 @@ def _reconcile_labels_lists(self, processor): if new_labels.isdisjoint(old_labels): raise Exception("The same task name has disjoint sets of labels in different dataset: %s vs. %s" % (str(old_labels), str(new_labels))) elif new_labels != old_labels: - logger.warn("Two different datasets have the same task name but not completely equal label lists: %s vs. %s. We will merge them." (str(old_labels), str(new_labels))) + logger.warn("Two different datasets have the same task name but not completely equal label lists: %s vs. %s. We will merge them." % (str(old_labels), str(new_labels))) self.tasks_to_labels[task] = old_labels.union(new_labels) else: ## they match completely, nothing to be done