Skip to content

Commit

Permalink
Merge branch 'feature/optimization' of https://github.com/GazzolaLab/…
Browse files Browse the repository at this point in the history
…MiV-Simulator into feature/optimization
  • Loading branch information
iraikov committed Apr 4, 2024
2 parents 6c80245 + cd75b8f commit fa8f87e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/miv_simulator/cells.py
Original file line number Diff line number Diff line change
Expand Up @@ -1786,9 +1786,9 @@ def init_circuit_context(
cell_weights_dict,
) in cell_weights_iter:
assert cell_weights_gid == gid
cell_weights_dicts[weights_namespace] = (
cell_weights_dict
)
cell_weights_dicts[
weights_namespace
] = cell_weights_dict

else:
raise RuntimeError(
Expand Down
12 changes: 6 additions & 6 deletions src/miv_simulator/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,9 @@ def connect_cells(env: Env) -> None:
lambda edgeset: presyn_input_sources.update(edgeset[1][0]),
edge_iter,
)
env.microcircuit_input_sources[presyn_name] = (
presyn_input_sources
)
env.microcircuit_input_sources[
presyn_name
] = presyn_input_sources
else:
syn_edge_iter = edge_iter
syn_attrs.init_edge_attrs_from_iter(
Expand Down Expand Up @@ -739,9 +739,9 @@ def connect_cell_selection(env):
syn_attrs.init_edge_attrs_from_iter(
postsyn_name, presyn_name, a, syn_edge_iter
)
env.microcircuit_input_sources[presyn_name] = (
presyn_input_sources
)
env.microcircuit_input_sources[
presyn_name
] = presyn_input_sources
del graph[postsyn_name][presyn_name]

first_gid = None
Expand Down

0 comments on commit fa8f87e

Please sign in to comment.