2017-03-03 00:09:01 main:187 Starting SpikeDetekt version 0.3.0 on 2017-03-03 00:09:01 main:188 Parameters: {'__doc__': 'Contain default parameters.', 'canonical_pcs': None, 'chunk_overlap': 300, 'chunk_size': 20000, 'connected_component_join_size': 1, 'detect_spikes': 'negative', 'diagnostics_path': None, 'excerpt_size': 20000, 'experiment_name': '/mnt/packrat/userdirs/david/zpool1/DT8/20170229_324um_2088um_merge/10/20170229_324um_2088um_merge_sh10', 'extract_s_after': 16, 'extract_s_before': 16, 'features_contiguous': True, 'filter_butter_order': 3, 'filter_high': 9500.0, 'filter_low': 500.0, 'nbits': 16, 'nchannels': 96, 'nexcerpts': 60, 'nfeatures_per_channel': 6, 'pca_nwaveforms_max': 20000, 'prb_file': '10.prb', 'raw_data_files': ['/mnt/packrat/userdirs/david/zpool1/DT8/20170229_324um_2088um_merge/20170229_324um_2088um_merge.dat'], 'sample_rate': 20000.0, 'save_high': False, 'save_low': False, 'save_raw': False, 'threshold_strong_std_factor': 4.5, 'threshold_weak_std_factor': 2.0, 'use_single_threshold': False, 'voltage_gain': 10.0, 'waveforms_nsamples': 32, 'weight_power': 2} 2017-03-03 00:09:01 logger:175 Traceback (most recent call last): File "/home/david/miniconda/envs/klusta/bin/klusta", line 9, in load_entry_point('klustaviewa==0.3.0', 'console_scripts', 'klusta')() File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/spikedetekt2/core/script.py", line 303, in main runsd=runsd, runkk=runkk, convert_only=convert_only) File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/spikedetekt2/core/script.py", line 264, in run_all run_spikedetekt(prm_filename, dir=dir, debug=debug, convert_only=convert_only) File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/spikedetekt2/core/script.py", line 117, in run_spikedetekt _debug=debug, convert_only=convert_only) File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/spikedetekt2/core/main.py", line 197, in run channels=probe.channels, **prm) File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/spikedetekt2/processing/threshold.py", line 46, in get_threshold excerpt_size=excerpt_size)) File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/numpy/core/shape_base.py", line 228, in vstack return _nx.concatenate([atleast_2d(_m) for _m in tup], 0) File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/spikedetekt2/processing/threshold.py", line 44, in apply_filter(excerpt.data[:,:], filter=filter) File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/kwiklib/dataio/raw.py", line 45, in excerpts for recording, data in self.next_recording(): File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/kwiklib/dataio/raw.py", line 28, in next_recording yield self.recording, self.get_recording_data(self.recording) File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/kwiklib/dataio/raw.py", line 147, in get_recording_data "").format(f=filename, s=size, c=self.nchannels)) ValueError: Shape error: the file /mnt/packrat/userdirs/david/zpool1/DT8/20170229_324um_2088um_merge/20170229_324um_2088um_merge.dat has S=17032019968 bytes, but there are C=96 channels. C should be a divisor of S. None