Skip to content

Commit

Permalink
Add missing % to string.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmills committed Jul 7, 2023
1 parent c1016d7 commit eff5a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cnlpt/cnlp_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eff5a39

Please sign in to comment.