From 6c174dc6c6b4b7fb0d9e0b1cfe32062941662f69 Mon Sep 17 00:00:00 2001 From: FilippoOlivo Date: Wed, 12 Mar 2025 09:39:49 +0100 Subject: [PATCH] Black formatting collector --- pina/collector.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pina/collector.py b/pina/collector.py index 1f708e3..f912fb8 100644 --- a/pina/collector.py +++ b/pina/collector.py @@ -8,14 +8,14 @@ from .utils import check_consistency class Collector: """ - Collector class for retrieving data from different conditions in the + Collector class for retrieving data from different conditions in the problem. """ def __init__(self, problem): """ Initialize the Collector class, by creating a hook between the collector - and the problem and initializing the data collections (dictionary where + and the problem and initializing the data collections (dictionary where data will be stored). :param AbstractProblem problem: The problem to collect data from. @@ -114,7 +114,7 @@ class Collector: Store inside data collections the sampled data of the problem. These comes from the conditions that require sampling. """ - + for condition_name in self.problem.conditions: condition = self.problem.conditions[condition_name] if not hasattr(condition, "domain"):