Skip to content

Conversation

AtMostafa
Copy link
Member

  • checks negative spikes times for alignment error
  • if there is no negative spike times, delete nwb and mat files and re-run conversion
  • new command (replace-processed) to replace nwb and mat files in rds

- checks negative spikes times for alignment error
- if there is no negative spike times, delete nwb and mat files and re-run conversion
- new command (replace-processed) to replace  nwb and mat files in rds
@gen21kawa
Copy link

To check if the nwb files have the sync problem (having no negative spike times), you can run the following command.

bnd validate-spikes M037_2024_01_01_10_00  # Validate single session and delete nwb & mat files for incorrect sync
bnd validate-spikes M037_2024_01_01_10_00 -D  # Check only, don't delete
bnd validate-spikes M037 -b  # Validate all M037 sessions

After rerunning the conversion, you can replace the nwb and mat files in RDS with the following command.

 bnd replace-processed M037_2024_01_01_10_00

@AtMostafa AtMostafa closed this Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants