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

NICOLET: use set_montage at the end of the __init__ #6497

Merged
merged 2 commits into from
Jun 27, 2019

Conversation

massich
Copy link
Contributor

@massich massich commented Jun 26, 2019

This PR is part of #6461. The concrete goal here is to make sure that:
1 - RawNicolet is always called with montage=None
2 - ensure self.set_montage(montage) is called at the end of init

@massich massich marked this pull request as ready for review June 26, 2019 15:53
@@ -171,11 +171,12 @@ def __init__(self, input_fname, ch_type, montage=None, eog=(), ecg=(),
info, header_info = _get_nicolet_info(input_fname, ch_type, eog, ecg,
emg, misc)
last_samps = [header_info['num_samples'] - 1]
_check_update_montage(info, montage)
# _check_update_montage(info, montage)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# _check_update_montage(info, montage)

@codecov
Copy link

codecov bot commented Jun 27, 2019

Codecov Report

Merging #6497 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #6497      +/-   ##
==========================================
+ Coverage   89.25%   89.26%   +<.01%     
==========================================
  Files         413      413              
  Lines       74542    74557      +15     
  Branches    12296    12296              
==========================================
+ Hits        66530    66550      +20     
+ Misses       5158     5157       -1     
+ Partials     2854     2850       -4

@massich massich merged commit 25b38f8 into mne-tools:master Jun 27, 2019
@massich massich deleted the nicolete_montage branch June 27, 2019 13:55
massich added a commit that referenced this pull request Jul 3, 2019
This PR refactors into a single test all the testing introduced by the following PRs:

#6511, #6513, #6497, #6496, #6480, #6469, #6471, #6476
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