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 24, 2024
1 parent dc09c82 commit 6685d7a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pyiron_workflow/macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,12 @@ def outputs(self) -> Outputs:
def _parse_remotely_executed_self(self, other_self):
local_connection_data = [
[(c, c.label, c.connections) for c in io_panel]
for io_panel
in [self.inputs, self.outputs, self.signals.input, self.signals.output]
for io_panel in [
self.inputs,
self.outputs,
self.signals.input,
self.signals.output,
]
]

super()._parse_remotely_executed_self(other_self)
Expand All @@ -502,9 +506,7 @@ def _replace_connection(
):
"""Brute-force replace an old connection in a channel with a new one"""
channel.connections = [
c if c is not old_connection
else new_connection
for c in channel
c if c is not old_connection else new_connection for c in channel
]

def _configure_graph_execution(self):
Expand Down

0 comments on commit 6685d7a

Please sign in to comment.