Merge remote-tracking branch 'origin/develop' into develop
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Anne de Jong 2023-03-13 10:38:23 +01:00
commit ad62917aab
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ class Measurement:
self._channelNames = [f'Unnamed {i}' for i in range(self.nchannels)]
# comment = read-write thing
if 'comment' in f.keys():
if 'comment' in f.attrs:
self._comment = f.attrs['comment']
else:
self._comment = ''