Skip to content

Commit

Permalink
MAINT: Minor fix and version bump (#42)
Browse files Browse the repository at this point in the history
* MAINT: Minor fix and version bump

* FIX: Ver

* FIX: Link

* FIX: Spacing
  • Loading branch information
larsoner authored Oct 3, 2022
1 parent 64815d7 commit dc15939
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ MNE-realtime

This is a repository for realtime analysis of MEG/EEG data with MNE. The documentation can be found here:

* `Examples`_
* `API`_
* `Examples`_
* `API`_

Dependencies
------------
Expand Down Expand Up @@ -80,5 +80,5 @@ to report bugs.
.. _Examples: https://mne.tools/mne-realtime/auto_examples/index.html
.. _API: https://mne.tools/mne-realtime/api.html
.. _numpy: https://numpy.org
.. _scipy: https://scipy.org/
.. _scipy: https://scipy.org
.. _MNE: https://mne.tools
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ def reset_warnings(gallery_conf, fname):
'Evoked': 'mne.Evoked', 'Info': 'mne.Info',
'Montage': 'mne.channels.Montage', 'Forward': 'mne.Forward',
'DigMontage': 'mne.channels.DigMontage',
'ConductorModel': 'mne.bem.ConductorModel',
# mne_realtime
'RtEpochs': 'mne_realtime.RtEpochs',
}
Expand Down
2 changes: 1 addition & 1 deletion mne_realtime/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.dev0"
__version__ = "0.2.0"
9 changes: 4 additions & 5 deletions mne_realtime/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
#
# License: BSD (3-clause)

import warnings
import pytest

from mne.fixes import _get_args


def pytest_configure(config):
"""Configure pytest options."""
Expand Down Expand Up @@ -37,9 +36,9 @@ def matplotlib_config():
import matplotlib
# "force" should not really be necessary but should not hurt
kwargs = dict()
if 'warn' in _get_args(matplotlib.use):
kwargs['warn'] = False
matplotlib.use('agg', force=True, **kwargs) # don't pop up windows
with warnings.catch_warnings(record=True): # ignore warning
warnings.filterwarnings('ignore')
matplotlib.use('agg', force=True, **kwargs) # don't pop up windows
import matplotlib.pyplot as plt
assert plt.get_backend() == 'agg'
# overwrite some params that can horribly slow down tests that
Expand Down

0 comments on commit dc15939

Please sign in to comment.