remove the warnings
@@ -62,10 +62,7 @@ class NeoBaseRecordingExtractor(_NeoBaseExtractor, BaseRecording):
offsets = signal_channels['offset']
units = signal_channels['units']
- if not np.all(np.isin(units, ['V', 'Volt', 'mV', 'uV'])):
- # check that units are V, mV or uV
- error = f'This extractor based on neo.{self.NeoRawIOClass} have strange units not in (V, mV, uV) {units}'
- print(error)
+
additional_gain = np.ones(units.size, dtype='float')
additional_gain[units == 'V'] = 1e6
additional_gain[units == 'Volt'] = 1e6
