Skip to content

[BUG] Dead channels need to be in order, otherwise snipping error #345

@AlyssaMeng

Description

@AlyssaMeng

Describe the bug
Pipeline throws a bug if the dead channels are not in chronological order. Returns an indexing error when trying to create snippets.

Running environment

  • Data in datastore: [e.g. Alyssa/Optetrode_recordings2022/1492/1492_2022-11-14_11-53-42_of1]
  • Branch: master

To Reproduce
Steps to reproduce the behavior:
e.g.

  1. Run pipeline in specified data folder
  2. Error occurs when trying to snip data. Does not create figures after sync_test and lfp

Expected behavior
Normal sorting and snipping

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions