From c5730bc008670aef826403e5fc16ac61dd621077 Mon Sep 17 00:00:00 2001 From: Adam Narozniak Date: Fri, 12 Jul 2024 12:28:52 +0200 Subject: [PATCH] Fix formatting --- datasets/flwr_datasets/partitioner/pathological_partitioner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datasets/flwr_datasets/partitioner/pathological_partitioner.py b/datasets/flwr_datasets/partitioner/pathological_partitioner.py index df490381bdde..1ee60d283044 100644 --- a/datasets/flwr_datasets/partitioner/pathological_partitioner.py +++ b/datasets/flwr_datasets/partitioner/pathological_partitioner.py @@ -283,7 +283,7 @@ def _count_partitions_having_each_unique_label(self) -> None: def _check_correctness_of_unique_label_to_times_used_counter( self, labels: NDArray ) -> None: - "Check if partitioning is possible given the presence requirements. + """Check if partitioning is possible given the presence requirements. The number of times the label can be used must be smaller or equal to the number of times that the label is present in the dataset.