Dear NEST community,
When trying to pass a `synapse_label` parameter in the syn_spec
dictionary, in conjunction with the `one_to_one` rule and node ids
passed as arrays, I get the following error with NEST 3.0:
File
"/home/zbarni/code/projects/lif_sorn_seqlearn/lif-sorn-nest-implementation/remote/test_nestml_multith.py",
line 29, in <module>
nest.Connect([1], [2], conn_spec={'rule': 'one_to_one'},
syn_spec={'synapse_model': 'static_synapse_lbl', 'synapse_label':
1})
File
"/home/zbarni/software/installed/miniconda3/envs/del-lif-sorn-nestml-check_py390/lib/python3.9/site-packages/nest/ll_api.py",
line 228, in stack_checker_func
return f(*args, **kwargs)
File
"/home/zbarni/software/installed/miniconda3/envs/del-lif-sorn-nestml-check_py390/lib/python3.9/site-packages/nest/lib/hl_api_connections.py",
line 255, in Connect
connect_arrays(pre, post, weights, delays, synapse_model,
syn_param_keys, syn_param_values)
File "pynestkernel.pyx", line 360, in
pynestkernel.NESTEngine.connect_arrays
nest.lib.hl_api_exceptions.TypeMismatch: TypeMismatch in SLI function
connect_arrays
It works when using the `all_to_all` rule. Is this the expected behavior
or for some reason it's not possible to use synapse_label and the
one_to_one rule (yet)?
Thank you,
Barna