Skip to content

Commit 0b6b41d

Browse files
authored
Merge pull request #3338 from aserenko/fix_unique_ids_at_node_creation_bug
Fix parentheses in connection_helpers
2 parents 94c755d + 10c4aa2 commit 0b6b41d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pynest/nest/lib/hl_api_connection_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ def _process_input_nodes(pre, post, conn_spec):
291291

292292
# check for 'one_to_one' conn_spec
293293
one_to_one_cspec = (
294-
conn_spec if not isinstance(conn_spec, dict) else conn_spec.get("rule", "all_to_all") == "one_to_one"
295-
)
294+
conn_spec if not isinstance(conn_spec, dict) else conn_spec.get("rule", "all_to_all")
295+
) == "one_to_one"
296296

297297
# check and convert input types
298298
pre_is_nc, post_is_nc = True, True

0 commit comments

Comments
 (0)