You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code does not work because of issues indexing into the precell indices when creating the rows for appending multiple synapses; it only works in the pre range starts at zero.
comp = jx.Compartment()
branch = jx.Branch(comp, nseg=1)
cell = jx.Cell([branch], parents=[-1])
net = jx.Network([cell for _ in range(10)])
pre = net.cell(list(range(2, 5)))
post = net.cell(list(range(5, 7)))
print(len(pre.nodes), len(post.nodes))
conn_mat = np.ones((len(pre.nodes), len(post.nodes))).astype(bool)
print(conn_mat)
connectivity_matrix_connect(pre, post, IonotropicSynapse(), conn_mat)
One gets an index error
NOTE: this worked about a month ago but not anymore
The following code does not work because of issues indexing into the precell indices when creating the rows for appending multiple synapses; it only works in the pre range starts at zero.
One gets an index error
NOTE: this worked about a month ago but not anymore
I don't think this was intended right @jnsbck?
The text was updated successfully, but these errors were encountered: