From 603f45ad913380879c41298494b35bff1196de8d Mon Sep 17 00:00:00 2001 From: George Dang <53052793+gtdang@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:36:00 -0400 Subject: [PATCH] style: flake8 corrections --- hnn_core/docs.py | 2 +- hnn_core/hnn_io.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hnn_core/docs.py b/hnn_core/docs.py index 414d995bda..f67172411f 100644 --- a/hnn_core/docs.py +++ b/hnn_core/docs.py @@ -46,7 +46,7 @@ ] = """ source : str Original source of the hdf5 file. [obj, param, json] - obj: From an instance of a Network object + obj: From an instance of a Network object param: From a converted param parameter file json: From a converted json parameter file """ diff --git a/hnn_core/hnn_io.py b/hnn_core/hnn_io.py index 8a97f5552c..81b61f4929 100644 --- a/hnn_core/hnn_io.py +++ b/hnn_core/hnn_io.py @@ -209,7 +209,7 @@ def _read_connectivity(net, conns_data): # Overwrite drive connections net.connectivity = list() - for i, conn_data in enumerate(conns_data): + for _i, conn_data in enumerate(conns_data): src_gids = [int(s) for s in conn_data['gid_pairs'].keys()] target_gids_nested = [target_gid for target_gid in conn_data['gid_pairs'].values()]