我在使用模块core.py时出现问题,它是根据与我的版本不兼容的版本编写的。
所以我正在做的是将openFile等行编辑为open_file。
当我继续,我无法解决这个问题,我该如何编辑该行才能继续?
错误日志:
File "C:\Python27\lib\site-packages\spikedetekt\core.py", line 141, in
spike_d
etection_from_raw_data
main_h5.create_ExternalLink(shank_group['main', i], 'waveforms',
AttributeError: 'File' object has no attribute 'create_ExternalLink'
core.py:
# spikedetekt data for main file, and links to waveforms
for i in probe.shanks_set:
shank_table['spikedetekt', i] = main_h5.create_table(shank_group['main', i],
'spikedetekt', shank_description(len(probe.channel_set[i])))
main_h5.create_ExternalLink(shank_group['main', i], 'waveforms',
shank_table['waveforms', i])