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

Avoid writing extra devices when using IntanRecordingInterface with multiple electrode groups #1167

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

h-mayorquin
Copy link
Collaborator

@h-mayorquin h-mayorquin commented Dec 19, 2024

As in the title.

This is after #1164 as that laid the ground-work for this.

The problem is the last time I hardcoded that we only add the IntanDevice to the first group. The other groups have a default Device and that's where the extra ones come from.

I added a test and fixed this.

@h-mayorquin h-mayorquin self-assigned this Dec 19, 2024
@h-mayorquin h-mayorquin marked this pull request as ready for review December 19, 2024 16:56
@h-mayorquin h-mayorquin changed the title Avoid multiple devices when writing with multiple electrodes in IntanRecordingInterface Avoid writing extra devices when using IntanRecordingInterface with multiple electrode groups. Dec 19, 2024
@h-mayorquin h-mayorquin changed the title Avoid writing extra devices when using IntanRecordingInterface with multiple electrode groups. Avoid writing extra devices when using IntanRecordingInterface with multiple electrode groups Dec 19, 2024
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.75%. Comparing base (96dfdff) to head (cce7083).
Report is 12 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1167      +/-   ##
==========================================
+ Coverage   90.69%   90.75%   +0.06%     
==========================================
  Files         129      129              
  Lines        8189     8287      +98     
==========================================
+ Hits         7427     7521      +94     
- Misses        762      766       +4     
Flag Coverage Δ
unittests 90.75% <100.00%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...datainterfaces/ecephys/intan/intandatainterface.py 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

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.

1 participant