Open brendonw1 opened 5 years ago
what does it do? I'm DFW
function x = gather_try(x)
try x = gather(x); catch end
On Mon, Sep 24, 2018 at 1:05 PM, Dan Levenstein notifications@github.com wrote:
what does it do? I'm DFW
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/buzsakilab/buzcode/issues/245#issuecomment-424050391, or mute the thread https://github.com/notifications/unsubscribe-auth/ANnfgBK2AyS2xUifqV6FvkYl59mnowuUks5ueRDPgaJpZM4WxDdl .
That's it.... I mean, we can put it in buzcode if you want or just put it as an internal function in LFPfromDat
It seems that that piece of code would fail even with the try/catch because x is not initialized? I vote for removal if this is part of kilosort
Marius doesn't seem very flexible on kilosort code. I doubt we'll make much progress there and it works.
I just don't know how this got into bz_GetLFP and I vote that whoever put it in fixes it. I don't have time for coding now.
On Wed, Sep 26, 2018 at 7:18 AM David Tingley notifications@github.com wrote:
It seems that that piece of code would fail even with the try/catch because x is not initialized? I vote for removal if this is part of kilosort
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/buzsakilab/buzcode/issues/245#issuecomment-424732604, or mute the thread https://github.com/notifications/unsubscribe-auth/ADXrTVCY_jibusB0VTTsKh8iP5arjFeUks5ue4ytgaJpZM4WxDdl .
gather_try.m is a part of the kilosort toolbox! Either we should have it in buzcode or take it out of this function. Suggestions?