Merge remote-tracking branch 'origin/develop' into develop
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Anne de Jong 2023-03-13 10:38:23 +01:00
commit ad62917aab

View File

@ -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 = ''