Skip to content

Commit

Permalink
Update pylossless/dash/topo_viz.py
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Huberty <[email protected]>
  • Loading branch information
christian-oreilly and scott-huberty authored Oct 26, 2023
1 parent 266caf2 commit 1013ef0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pylossless/dash/topo_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
def pick_montage(montage, ch_names):
"""Pick a subset of channels from a montage."""
digs = montage.remove_fiducials().dig
assert len(digs) == len(montage.ch_names)
digs = [dig for dig, ch_name in zip(digs, montage.ch_names) if ch_name in ch_names]
return mne.channels.DigMontage(dig=digs, ch_names=ch_names)

Check warning on line 40 in pylossless/dash/topo_viz.py

View check run for this annotation

Codecov / codecov/patch

pylossless/dash/topo_viz.py#L38-L40

Added lines #L38 - L40 were not covered by tests

Expand Down

0 comments on commit 1013ef0

Please sign in to comment.