Skip to content

MNT: Deprecate montage=[str, Montage, DigMontage] in readers.#6526

Closed
massich wants to merge 29 commits intomne-tools:masterfrom
massich:deprecate_montage
Closed

MNT: Deprecate montage=[str, Montage, DigMontage] in readers.#6526
massich wants to merge 29 commits intomne-tools:masterfrom
massich:deprecate_montage

Conversation

@massich
Copy link
Copy Markdown
Contributor

@massich massich commented Jul 3, 2019

I think we can just deprecate the montage in the readers, and allow the constructors for the moment.

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 3, 2019

Codecov Report

Merging #6526 into master will decrease coverage by 1.41%.
The diff coverage is 86.84%.

@@            Coverage Diff             @@
##           master    #6526      +/-   ##
==========================================
- Coverage   89.31%   87.89%   -1.42%     
==========================================
  Files         413      413              
  Lines       74562    74612      +50     
  Branches    12296    12300       +4     
==========================================
- Hits        66592    65579    -1013     
- Misses       5128     6196    +1068     
+ Partials     2842     2837       -5

@massich
Copy link
Copy Markdown
Contributor Author

massich commented Jul 5, 2019

Note, elements that are passed to kind in read_montage(kind: str):

[sik db] montage::kind :  /home/sik/mne_data/MNE-testing-data/EEGLAB/test_chans.locs
[sik db] montage::kind :  /home/sik/mne_data/MNE-testing-data/EEGLAB/test_chans.locs
[sik db] montage::kind :  /home/sik/mne_data/MNE-testing-data/EEGLAB/test_chans.locs
[sik db] montage::kind :  /home/sik/mne_data/MNE-testing-data/EEGLAB/test_chans.locs
[sik db] montage::kind :  /tmp/mne-XXXXX/mne/io/brainvision/tests/data/test.hpts
[sik db] montage::kind :  /tmp/mne-XXXXX/mne/io/brainvision/tests/data/test.hpts
[sik db] montage::kind :  /tmp/mne-XXXXX/mne/io/brainvision/tests/data/test.hpts
[sik db] montage::kind :  /tmp/mne-XXXXX/mne/io/edf/tests/data/biosemi.hpts
[sik db] montage::kind :  /tmp/mne-XXXXX/mne/io/edf/tests/data/biosemi.hpts
[sik db] montage::kind :  /tmp/tmp_mne_tempdir_rtu307nt/test.bvef
[sik db] montage::kind :  /tmp/tmp_mne_tempdir_rtu307nt/test.csd
[sik db] montage::kind :  /tmp/tmp_mne_tempdir_rtu307nt/test.elc
[sik db] montage::kind :  /tmp/tmp_mne_tempdir_rtu307nt/test.elp
[sik db] montage::kind :  /tmp/tmp_mne_tempdir_rtu307nt/test.hpts
[sik db] montage::kind :  /tmp/tmp_mne_tempdir_rtu307nt/test.sfp
[sik db] montage::kind :  /tmp/tmp_mne_tempdir_rtu307nt/test.txt
[sik db] montage::kind :  /tmp/tmp_mne_tempdir_rtu307nt/test_fid.hpts
[sik db] montage::kind :  /tmp/tmp_mne_tempdir_rtu307nt/test_fid.sfp
[sik db] montage::kind :  biosemi32
[sik db] montage::kind :  biosemi32
[sik db] montage::kind :  mgh60
[sik db] montage::kind :  mgh70
[sik db] montage::kind :  standard_1020

@massich
Copy link
Copy Markdown
Contributor Author

massich commented Jul 5, 2019

needs rebase after #6532

@massich
Copy link
Copy Markdown
Contributor Author

massich commented Jul 8, 2019

closing in favor of #6534. I'll be moving some parts, though.

@massich massich closed this Jul 8, 2019
@massich massich deleted the deprecate_montage branch August 7, 2019 10:05
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