Skip to content

Commit

Permalink
Format black
Browse files Browse the repository at this point in the history
  • Loading branch information
pyiron-runner committed Jan 22, 2024
1 parent 4b399d1 commit 651c2bd
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pyiron_workflow/channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 651c2bd

Please sign in to comment.