From 377299c738e33975d233ca0dbb82fdbc2754d87b Mon Sep 17 00:00:00 2001 From: George Dang <53052793+gtdang@users.noreply.github.com> Date: Thu, 26 Sep 2024 18:03:30 -0400 Subject: [PATCH] refactor: flake8 --- hnn_core/tests/test_network.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hnn_core/tests/test_network.py b/hnn_core/tests/test_network.py index 8878f4bd9..5b7d7a742 100644 --- a/hnn_core/tests/test_network.py +++ b/hnn_core/tests/test_network.py @@ -947,10 +947,11 @@ def test_synaptic_gains(): else: assert conn['nc_dict']['gain'] == 1.0 - nb_updated = NetworkBuilder(net) # Check weights are altered def _get_weight(nb, conn_name, idx=0): return nb.ncs[conn_name][idx].weight[0] + + nb_updated = NetworkBuilder(net) # i_e check assert (_get_weight(nb_updated, 'L2Basket_L2Pyr_gabaa') / _get_weight(nb_base, 'L2Basket_L2Pyr_gabaa')) == 0.5