Skip to content

Commit

Permalink
explicitly declare pymatreader an optional dep for EEGLAB (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Jan 31, 2022
1 parent 5a4c82a commit 14625ed
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ jobs:
python -c 'import nibabel; print(nibabel.__version__)'
python -c 'import matplotlib; print(matplotlib.__version__)'
python -c 'import pandas; print(pandas.__version__)'
python -c 'import pymatreader; print(pymatreader.__version__)'
python -c 'import EDFlib; print("EDFlib has no .__version__")'
test:
timeout-minutes: 60
Expand Down Expand Up @@ -151,15 +153,13 @@ jobs:
if: "matrix.mne-version == 'mne-stable'"
run: |
git clone --depth 1 https://github.com/mne-tools/mne-python.git -b maint/0.24
cd ./mne-python
pip install -e .[hdf5]
pip install -e ./mne-python
- name: Install MNE (main)
if: "matrix.mne-version == 'mne-main'"
run: |
git clone --depth 1 https://github.com/mne-tools/mne-python.git -b main
cd ./mne-python
pip install -e .[hdf5]
pip install -e ./mne-python
- name: Install BIDS validator (stable)
if: "matrix.bids-validator-version == 'validator-stable'"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2018-2021, mne-bids developers
Copyright (c) 2018-2022, mne-bids developers
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
3 changes: 2 additions & 1 deletion doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ Optional:

* ``nibabel`` (>=2.5, for processing MRI data)
* ``pybv`` (>=0.6, for writing BrainVision data)
* ``pymatreader`` (>=0.0.29 , for operations with EEGLAB data)
* ``matplotlib`` (>=3.1.0, for using the interactive data inspector)
* ``pandas`` (>=0.24.0, for generating event statistics)
* ``EDFlib-Python`` (>=1.0.2, for writing EDF data)
* ``EDFlib-Python`` (>=1.0.6, for writing EDF data)

We recommend the `Anaconda <https://www.anaconda.com/download/>`_ Python distribution.
We require that you **use Python 3.7 or higher**.
Expand Down
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
nilearn
sphinx <4.3
sphinx
sphinx_gallery
sphinx-copybutton
pydata-sphinx-theme
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ full =
pybv >= 0.6
matplotlib >= 3.1.0
pandas >= 0.24.0
EDFlib-Python >= 1.0.2
EDFlib-Python >= 1.0.6
pymatreader >= 0.0.29

[options.entry_points]
console_scripts =
Expand Down
3 changes: 2 additions & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ pandas>=0.24.0
nibabel>=2.5
pybv>=0.6
openneuro-py>=2022.1
EDFlib-Python>=1.0.2
EDFlib-Python>=1.0.6
pymatreader>=0.0.29
pytest
pytest-cov
pytest-sugar
Expand Down

0 comments on commit 14625ed

Please sign in to comment.