From 651c2bdb8808abd92e8672b3bbec3143baa538ce Mon Sep 17 00:00:00 2001 From: pyiron-runner Date: Mon, 22 Jan 2024 22:50:41 +0000 Subject: [PATCH] Format black --- pyiron_workflow/channels.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pyiron_workflow/channels.py b/pyiron_workflow/channels.py index 1055df95..74d7c5a6 100644 --- a/pyiron_workflow/channels.py +++ b/pyiron_workflow/channels.py @@ -799,13 +799,14 @@ def __call__(self, other: OutputSignal) -> None: Resets the collection of received signals when firing. """ self.received_signals.update([other.scoped_label]) - if len( - set( - c.scoped_label for c in self.connections - ).difference( - self.received_signals + if ( + len( + set(c.scoped_label for c in self.connections).difference( + self.received_signals + ) ) - ) == 0: + == 0 + ): self.reset() self.callback()