Skip to content

Commit

Permalink
Merge pull request #3338 from aserenko/fix_unique_ids_at_node_creatio…
Browse files Browse the repository at this point in the history
…n_bug

Fix parentheses in connection_helpers
  • Loading branch information
clinssen authored Dec 9, 2024
2 parents 94c755d + 10c4aa2 commit 0b6b41d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pynest/nest/lib/hl_api_connection_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ def _process_input_nodes(pre, post, conn_spec):

# check for 'one_to_one' conn_spec
one_to_one_cspec = (
conn_spec if not isinstance(conn_spec, dict) else conn_spec.get("rule", "all_to_all") == "one_to_one"
)
conn_spec if not isinstance(conn_spec, dict) else conn_spec.get("rule", "all_to_all")
) == "one_to_one"

# check and convert input types
pre_is_nc, post_is_nc = True, True
Expand Down

0 comments on commit 0b6b41d

Please sign in to comment.