Skip to content

Commit

Permalink
Merge remote-tracking branch 'openbci/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey1994 committed Mar 30, 2020
2 parents ab3e9c9 + d17c4fe commit 4fcd1e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ install:
- sudo pip3 install cmake==3.13.3
- sudo -H pip3 install --upgrade setuptools wheel virtualenv
- sudo -H pip3 install $TRAVIS_BUILD_DIR/emulator
- sudo -H pip3 install awscli
# R disabled. It's taking up too much time in CI
# # install required packages for R
# - sudo -H R --vanilla -e 'install.packages("knitr", repos="http://cran.us.r-project.org")'
Expand Down Expand Up @@ -173,7 +174,6 @@ script:
- cd $TRAVIS_BUILD_DIR/java-package/brainflow && mvn exec:java -Dexec.mainClass="brainflow.examples.Transforms"

after_success:
- sudo -H pip3 install awscli
# push libraries from docker!
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
aws s3 cp $TRAVIS_BUILD_DIR/installed_docker/lib/ s3://brainflow/$TRAVIS_COMMIT/$TRAVIS_OS_NAME --recursive ;
Expand Down
7 changes: 2 additions & 5 deletions docs/notebooks/brainflow_mne.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@
"import brainflow\n",
"from brainflow.board_shim import BoardShim, BrainFlowInputParams, BoardIds\n",
"\n",
"from mne.viz.topomap import _prepare_topo_plot, plot_topomap\n",
"import mne\n",
"from mne.channels import read_layout\n",
"\n",
"from mpl_toolkits.axes_grid1 import make_axes_locatable"
"from mne.channels import read_layout"
]
},
{
Expand Down Expand Up @@ -98,7 +95,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
"version": "3.7.4"
},
"pycharm": {
"stem_cell": {
Expand Down
1 change: 1 addition & 0 deletions python-package/brainflow/board_shim.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def __init__ (self):
if platform.system () == 'Darwin':
os.environ['DYLD_LIBRARY_PATH '] = dir_path + os.pathsep + os.environ.get ('DYLD_LIBRARY_PATH ', '')
os.environ['DYLD_FALLBACK_LIBRARY_PATH '] = dir_path + os.pathsep + os.environ.get ('DYLD_FALLBACK_LIBRARY_PATH ', '')
ctypes.cdll.LoadLibrary (pkg_resources.resource_filename (__name__, 'lib/libneurosdk-shared.dylib'))
self.lib = ctypes.cdll.LoadLibrary (full_path)
else:
raise FileNotFoundError ('Dynamic library %s is missed, did you forget to compile brainflow before installation of python package?' % full_path)
Expand Down
3 changes: 0 additions & 3 deletions tests/python/brainflow_to_mne.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@
import brainflow
from brainflow.board_shim import BoardShim, BrainFlowInputParams, BoardIds

from mne.viz.topomap import _prepare_topo_plot, plot_topomap
import mne
from mne.channels import read_layout

from mpl_toolkits.axes_grid1 import make_axes_locatable


def main():
BoardShim.enable_dev_board_logger ()
Expand Down

0 comments on commit 4fcd1e5

Please sign in to comment.