From 6685d7a79c508b80ab6db041f16af8375c00ef68 Mon Sep 17 00:00:00 2001 From: pyiron-runner Date: Wed, 24 Jan 2024 20:28:34 +0000 Subject: [PATCH] Format black --- pyiron_workflow/macro.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pyiron_workflow/macro.py b/pyiron_workflow/macro.py index b64742cb..1790af94 100644 --- a/pyiron_workflow/macro.py +++ b/pyiron_workflow/macro.py @@ -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) @@ -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):