Skip to content

Commit cadfbd8

Browse files
authored
Merge pull request #1161 from samuelgarcia/spikeglx_warning
remove fileSizeBytes warning
2 parents 29e4c51 + b875827 commit cadfbd8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

neo/rawio/spikeglxrawio.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
Some functions are copied from Graham Findlay
4646
"""
4747

48-
import warnings
4948
from .baserawio import (BaseRawIO, _signal_channel_dtype, _signal_stream_dtype,
5049
_spike_channel_dtype, _event_channel_dtype)
5150

@@ -257,10 +256,6 @@ def scan_files(dirname):
257256
info['bin_file'] = str(bin_filename)
258257
info_list.append(info)
259258

260-
# Let see if this will be anoying or not.
261-
if bin_filename.stat().st_size != meta['fileSizeBytes']:
262-
warnings.warn('.meta file has faulty value for .bin file size on disc')
263-
264259
# the segment index will depend on both 'gate_num' and 'trigger_num'
265260
# so we order by 'gate_num' then 'trigger_num'
266261
# None is before any int

0 commit comments

Comments
 (0)