Dear Barna,
Could you try with NEST 3.2?
Best,
Hans Ekkehard
--
Prof. Dr. Hans Ekkehard Plesser
Head, Department of Data Science
Faculty of Science and Technology
Norwegian University of Life Sciences
PO Box 5003, 1432 Aas, Norway
Phone +47 6723 1560
Email hans.ekkehard.plesser(a)nmbu.no
Home
http://arken.nmbu.no/~plesser
On 02/02/2022, 01:20, "Barna Zajzon" <b.zajzon(a)fz-juelich.de> wrote:
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
_______________________________________________
NEST Users mailing list -- users(a)nest-simulator.org
To unsubscribe send an email to users-leave(a)nest-simulator.org