Skip to content

Commit

Permalink
Fix process recordings so it works for the case nvp > 4
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusEV committed Oct 14, 2024
1 parent 5361b40 commit 4f3c562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynest/examples/eprop_plasticity/toolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def process_recordings(self, duration, nrns_in, nrns_rec, nrns_out):
dfs.append(pd.read_csv(f"{save_file}.csv"))

for fname in file_names:
df_new = pd.read_csv(f"{file_names[0]}", skiprows=2, sep="\t")
df_new = pd.read_csv(f"{fname}", skiprows=2, sep="\t")
if not df_new.empty:
dfs.append(df_new)
os.remove(fname)
Expand Down

0 comments on commit 4f3c562

Please sign in to comment.