8000 bz_GetSpikes.m has redundant/crashy load waveforms · Issue #394 · buzsakilab/buzcode · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
bz_GetSpikes.m has redundant/crashy load waveforms #394
Open
@brendonw1

Description

@brendonw1

There are two parts of bz_GetSpikes that load spike waveforms and the newer/second one causes crashes if no .dat file - and is also redundant with the earlier part.

Summary:

  • Waveform load 1: Loads waveforms from .spks (old fashoned, not usually present, but sometimes), doesn't use .dat, but is only applicable in old datasets
  • Waveform load 2: Loads waveforms from .dats, but for some reason ALWAYS does this, even if waveforms are already there and causes crashes in old datasets wihtout .dats.

So I propose: to make the second part only get called if the first part didn't.

Agree?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0