Skip to content

Commit

Permalink
Fix selection of first rec for loading channel_bit_volts
Browse files Browse the repository at this point in the history
  • Loading branch information
malfatti committed May 16, 2017
1 parent 77676db commit 8ff3dca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Python3/Kwik.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def load(filename, dataset=0):
data['data'] = {Rec: f['recordings'][Rec]['data']
for Rec in f['recordings'].keys()}

if 'channel_bit_volts' in f['recordings']['0']\
R = list(f['recordings'])[0]
if 'channel_bit_volts' in f['recordings'][R]\
['application_data'].keys():
data['channel_bit_volts'] = {Rec: f['recordings'][Rec]\
['application_data']\
Expand Down

0 comments on commit 8ff3dca

Please sign in to comment.