Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small formatting changes and cleanups. #16

Merged
merged 6 commits into from
Dec 20, 2023
Merged

Small formatting changes and cleanups. #16

merged 6 commits into from
Dec 20, 2023

Conversation

nwatters01
Copy link
Collaborator

Three things:

  • Changed pre-commit to use 80 character line limit and make isort be black-compatible. Ran precommits with this new setting on all files.
  • Small refactoring of timestamp alignment code in nwb_converter.py. Includes raising an error if spikes exceed recording (which hasn't happened on any of the sessions I've converted).
  • Remove timezone information updating from metadata (it was raising a warning and I don't think it's necessary).

@CodyCBakerPhD CodyCBakerPhD merged commit d8536a5 into main Dec 20, 2023
1 check passed
@CodyCBakerPhD CodyCBakerPhD deleted the watters branch December 20, 2023 20:26
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