Skip to content

Commit

Permalink
FIX: Version bump (#37)
Browse files Browse the repository at this point in the history
* FIX: Version bump

* FIX: macOS
  • Loading branch information
larsoner authored Feb 11, 2022
1 parent 95ee38f commit 87829f7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mne_realtime/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0"
__version__ = "0.1.1"
6 changes: 4 additions & 2 deletions mne_realtime/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ def pytest_configure(config):
# we should remove them from here.
# - This list should also be considered alongside reset_warnings in
# doc/conf.py.
warning_lines = """
ignore:.*may indicate binary incompatibility.*:RuntimeWarning
warning_lines = r"""
error::
ignore:.*may indicate binary incompatibility.*:RuntimeWarning
ignore:.*distutils Version classes are deprecated.*:
ignore:`np.MachAr` is deprecated.*:DeprecationWarning
""" # noqa: E501
for warning_line in warning_lines.split('\n'):
warning_line = warning_line.strip()
Expand Down
2 changes: 1 addition & 1 deletion mne_realtime/epochs.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ def decimate(self, decim, offset=0, verbose=None):
.. versionadded:: 0.12
%(verbose_meth)s
%(verbose)s
Returns
-------
Expand Down
4 changes: 2 additions & 2 deletions mne_realtime/stim_server_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def add_trigger(self, trigger, verbose=None):
----------
trigger : int
The trigger to be added to the queue for sending to StimClient.
%(verbose_meth)s
%(verbose)s
See Also
--------
Expand Down Expand Up @@ -272,7 +272,7 @@ def get_trigger(self, timeout=5.0, verbose=None):
----------
timeout : float
maximum time to wait for a valid trigger from the server
%(verbose_meth)s
%(verbose)s
See Also
--------
Expand Down
4 changes: 3 additions & 1 deletion mne_realtime/tests/test_fieldtrip_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import socket
import subprocess
import time
import warnings

import numpy as np
from numpy.testing import assert_array_equal, assert_allclose
Expand Down Expand Up @@ -49,7 +50,8 @@ def _run_buffer(kill_signal, server_port):
# Let measurement continue for the entire duration
kill_signal.get(timeout=40.0)
process.terminate()
with pytest.warns(None): # still running
with warnings.catch_warnings(record=True): # still running
warnings.simplefilter('ignore')
process.stderr.close()
process.stdout.close()
del process
Expand Down

0 comments on commit 87829f7

Please sign in to comment.