add check for offset attribut
@@ -165,6 +165,7 @@ class NwbRecordingExtractor(BaseRecording):
# Set gains
self.set_channel_gains(gains)
# Set offsets
+ if hasattr(self._es, "offset"):
self.set_channel_offsets(self._es.offset * 1e6)
# Add properties
