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

Add typing to write_binary_recording #2794

Merged
merged 6 commits into from May 10, 2024

Conversation

h-mayorquin
Copy link
Collaborator

Working on the tutorial. Small PR with improvement.

@h-mayorquin h-mayorquin added the documentation Improvements or additions to documentation label May 2, 2024
@h-mayorquin h-mayorquin self-assigned this May 2, 2024
@h-mayorquin h-mayorquin marked this pull request as ready for review May 2, 2024 21:23
@@ -110,8 +110,7 @@ def write_binary_recording(
file_path_list = [add_suffix(file_path, ["raw", "bin", "dat"]) for file_path in file_path_list]

dtype = dtype if dtype is not None else recording.get_dtype()
cast_unsigned = False
if auto_cast_uint:
if auto_cast_uint: # TODO should we deprecate this given that we have `unsigned_to_signed`?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@h-mayorquin can you add it to this PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also improved the docstrings a little bit.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docstring looks nicer to me :)

Co-authored-by: Alessio Buccino <alejoe9187@gmail.com>
@alejoe91 alejoe91 merged commit e863b88 into SpikeInterface:main May 10, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants