Important BUG: opening a measurement tried to load the comment from the wrong place. Was stored as an attributed but was tried to recover as a dataset.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ec2a933e20
commit
f164aa2e71
@ -234,7 +234,7 @@ class Measurement:
|
|||||||
self._channelNames = [f'Unnamed {i}' for i in range(self.nchannels)]
|
self._channelNames = [f'Unnamed {i}' for i in range(self.nchannels)]
|
||||||
|
|
||||||
# comment = read-write thing
|
# comment = read-write thing
|
||||||
if 'comment' in f.keys():
|
if 'comment' in f.attrs:
|
||||||
self._comment = f.attrs['comment']
|
self._comment = f.attrs['comment']
|
||||||
else:
|
else:
|
||||||
self._comment = ''
|
self._comment = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user