Skip to content

Commit

Permalink
Merge pull request #231 from INM-6/espenhgn/issue230
Browse files Browse the repository at this point in the history
Fix ccs_{ccs_time_interval}ms
  • Loading branch information
jhnnsnk authored Sep 19, 2024
2 parents 8a29fe5 + b7aad9c commit f5c798e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesocircuit/plotting/figures.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,10 @@ def statistics_overview(circuit, all_FRs, all_LVs, all_CCs_distances, all_PSDs):
if isinstance(all_CCs_distances[X], h5py._hl.group.Group):
try:
for i, ccs_time_interval in enumerate(iter(circuit.ana_dict['ccs_time_interval'])):
all_CCs[X] = all_CCs_distances[X][f'ccs_{ccs_time_interval}']
all_CCs[X] = all_CCs_distances[X][f'ccs_{ccs_time_interval}ms']
break # plot statistics overview using only first value in list for now
except TypeError as _:
all_CCs[X] = all_CCs_distances[X][f'ccs_{circuit.ana_dict["ccs_time_interval"]}']
all_CCs[X] = all_CCs_distances[X][f'ccs_{circuit.ana_dict["ccs_time_interval"]}ms']
else:
all_CCs[X] = np.array([])

Expand Down

0 comments on commit f5c798e

Please sign in to comment.