Open cbimbo opened 2 years ago
Hi, sorry about that. If you pull the latest changes from ibllib develop branch that should be fixed. Let me know if not!
Hi Mayo, Thanks for that. This fixed it for me. However, I'm still getting an error:
File ~\Documents\int-brain-lab\phylib\phylib\io\traces.py:654 in export_waveforms
writer = NpyWriter(path, shape, dtype)
File ~\Documents\int-brain-lab\phylib\phylib\io\traces.py:555 in __init__
self.fp = open(path, 'wb')
OSError: [Errno 22] Invalid argument: 'D:\\spikeSorting_Celian\\CB008_2021-03-11_bank0_audioVis_g0\\sorting\\_phy_spikes_subset.waveforms.npy
I still have to dive into it, and if I can't fix it maybe I'll open another issue. Thanks again for the quick reply! Celian
Hi, following up on this. Did you fix this path issue?
Hi! I am very new to this pipeline, and am trying to prepare some ephys data for future alignment with histology using the
extract_data
function with the following code:However, I get this error:
I think it's because
ephysqc.spike_sorting_metrics_ks2
takes only 3 arguments (def spike_sorting_metrics_ks2(ks2_path=None, m=None, save=True): ...
) but is called with 4 (ephysqc.spike_sorting_metrics_ks2(ks_path, m, save=True, save_path=out_path)
).I'm not sure how it's possible (it should crash for everyone..)? I'm on the dev branch of iblapps and ibllib (I followed the instructions here. Maybe I've missed some obvious step?
Many thanks for your help, Celian