Skip to content

Commit 1a589c6

Browse files
tab-cmdlawheadsliu126jcgangemi1AidaFakhry
authored
2.0.0rc2 (#251)
* add timer to prevent double clicking (#218) * #181963356 ; added better alerting to inform users when fake data mode is on * Added changelog entry * Refactoring to reduce duplication * #182040775 ; option to summarize session at the end of a copy phrase task * Update README.md High level GPT2 documentation added, word level prediction described, contact information added * Matrix Display Fixes (#221) * fixes bug with last stimuli lagging in matrix calibration, added entire grid flash before each inquiry * Address PR comment + cleanup Co-authored-by: Tab Memmott <[email protected]> * Refactored session helper to generate spreadsheets without first creating a sqlite database * ERP plotting improvements and MNE data support (#220) * #182005453 ; added parameter for signal model path; updated initialization code to use this for typing tasks * #182406904 ; Fix bug when generating a spreadsheet from active session data * [Bug fix] Two presses needed to start copy phrase (#225) * Documentation and formatting * #182200897 ; check for internet connection and confirm before proceeding with the session * Added logging for GPU information, if available * Whitespace fix * Added changes * Move session validation to validate module; update internet connectivity test to work with VPN * #182106570 ; added functionality for configuration channel specifications for a given device. * Added a test mock to prevent a GUI interaction during testing * Fix test issue by switching to a different acquisition client for mocking * use a better default timeout (#228) * #182776686 ; prevent widgets scrolling on parameters form * Jitter (#233) Jitter for calibration + parameter. copy phrase ip cleanup stimuli tests * User ID reset bug and cleanup (#235) User id reset fix * Add support for Tobii Nano (#234) * Add support for Tobii Nano * address PR feedback * update changelog * added ssvep to cvep method (#232) Co-authored-by: Aida Fakhry <[email protected]> Co-authored-by: Tab Memmott <[email protected]> * #183037159 ; alert when using battery power * Better documentation on return values and potential impacts * VEP Display (#237) * upgrade psychopy (#239) * ERP viz demo fix (#240) * #175193924 infrastructure for changed parameters ; #183134229 Fixed issue with params_form rounding some float values ; #183133776 allow static offset to be input with more precision * Remove unneeded parameters (#241) * signal model loaded log (#244) better signal model logging * Devices config update && BciPy running outside of root (#242) * Refactor param changes GUI to use a scroll area for displaying a large number of changes * Refinements; parameters changes start out collapsed if empty; minor refactorings * #182408060 ; Ensure that spelled text is provided to the language model when using fake data * Export the device used as a useable config file (#247) * Convert: add BDF support and fix static offset bug (#246) * #182031676 ; remove TCP-based acquisition code * Added PR number to changelog * Added function type information; better string representations of channel specs and device specs; removed unused code in tests * Updated max_buffer_len parameter name for lsl_client * fix rebase issue in parameters module * Bug fixes: jitter, offline analysis, task complete alerting (#250) * Matrix Bug: fix for scp flashing (#252) * Matrix documentation (#253) Co-authored-by: lawhead <[email protected]> Co-authored-by: Shijia Liu <[email protected]> Co-authored-by: jcgangemi1 <[email protected]> Co-authored-by: AidaFakhry <[email protected]> Co-authored-by: Aida Fakhry <[email protected]> Co-authored-by: Basak Celik <[email protected]>
1 parent 651c444 commit 1a589c6

File tree

135 files changed

+8334
-10260
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+8334
-10260
lines changed

.bcipy/experiment/experiments.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{
2-
"default": {
3-
"fields": [],
4-
"summary": "Default experiment to test various BciPy features without registering a full experiment."
5-
}
1+
{
2+
"default": {
3+
"fields": [],
4+
"summary": "Default experiment to test various BciPy features without registering a full experiment."
5+
}
66
}

.bcipy/field/fields.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{
2-
"age": {
3-
"help_text": "Age (in years) of user.",
4-
"type": "int"
5-
}
1+
{
2+
"age": {
3+
"help_text": "Age (in years) of user.",
4+
"type": "int"
5+
}
66
}

.github/workflows/main.yml

+117-115
Original file line numberDiff line numberDiff line change
@@ -1,115 +1,117 @@
1-
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3-
4-
name: BciPy
5-
6-
on:
7-
push:
8-
branches:
9-
- main
10-
pull_request:
11-
branches:
12-
- '**'
13-
14-
jobs:
15-
build-ubuntu:
16-
17-
runs-on: ubuntu-latest
18-
strategy:
19-
fail-fast: false
20-
matrix:
21-
python-version: [3.7, 3.8]
22-
23-
steps:
24-
- uses: actions/checkout@v2
25-
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v2
27-
with:
28-
python-version: ${{ matrix.python-version }}
29-
- name: Install dependencies
30-
run: |
31-
sudo apt-get update
32-
sudo apt-get install libgtk-3-dev
33-
sudo apt-get install freeglut3-dev
34-
sudo apt-get install freetype*
35-
sudo apt-get install portaudio*
36-
sudo apt-get install libsndfile*
37-
sudo apt-get install xvfb
38-
python -m pip install --upgrade pip
39-
pip install -r dev_requirements.txt
40-
pip install -e .
41-
- name: Lint with flake8
42-
run: |
43-
# stop the build if there are Python syntax errors or undefined names
44-
flake8 bcipy
45-
- name: Unit test
46-
if: always()
47-
run: |
48-
set +e
49-
xvfb-run coverage run --branch --source=bcipy -m pytest --mpl -k "not slow"
50-
if [ $? -eq 0 ]
51-
then
52-
echo "Ubuntu run complete!"
53-
elif [ $? -eq 134 ]
54-
then
55-
echo "Ubuntu tests run successfully, memory issues may be present"
56-
exit 0
57-
else
58-
echo "Ubuntu test failure"
59-
fi
60-
61-
build-windows:
62-
63-
runs-on: windows-latest
64-
strategy:
65-
fail-fast: false
66-
matrix:
67-
python-version: [3.7, 3.8]
68-
69-
steps:
70-
- uses: actions/checkout@v2
71-
- name: Set up Python ${{ matrix.python-version }}
72-
uses: actions/setup-python@v2
73-
with:
74-
python-version: ${{ matrix.python-version }}
75-
- name: Install dependencies
76-
run: |
77-
python -m pip install --upgrade pip
78-
pip install -r dev_requirements.txt
79-
pip install -e .
80-
- name: Lint with flake8
81-
run: |
82-
# stop the build if there are Python syntax errors or undefined names
83-
flake8 bcipy
84-
- name: Unit test
85-
if: always()
86-
run: |
87-
coverage run --branch --source=bcipy -m pytest --mpl -k "not slow"
88-
89-
build-macos:
90-
91-
runs-on: macos-latest
92-
strategy:
93-
fail-fast: false
94-
matrix:
95-
python-version: [3.7, 3.8]
96-
97-
steps:
98-
- uses: actions/checkout@v2
99-
- name: Set up Python ${{ matrix.python-version }}
100-
uses: actions/setup-python@v2
101-
with:
102-
python-version: ${{ matrix.python-version }}
103-
- name: Install dependencies
104-
run: |
105-
python -m pip install --upgrade pip
106-
pip install -r dev_requirements.txt
107-
pip install -e .
108-
- name: Lint with flake8
109-
run: |
110-
# stop the build if there are Python syntax errors or undefined names
111-
flake8 bcipy
112-
- name: Unit test
113-
if: always()
114-
run: |
115-
coverage run --branch --source=bcipy -m pytest --mpl -k "not slow"
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: BciPy
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
pull_request:
11+
branches:
12+
- '**'
13+
14+
jobs:
15+
build-ubuntu:
16+
17+
runs-on: ubuntu-latest
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
python-version: [3.7, 3.8]
22+
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Set up Python ${{ matrix.python-version }}
26+
uses: actions/setup-python@v2
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
- name: Install dependencies
30+
run: |
31+
sudo apt-get update
32+
sudo apt-get install libgtk-3-dev
33+
sudo apt-get install freeglut3-dev
34+
sudo apt-get install freetype*
35+
sudo apt-get install portaudio*
36+
sudo apt-get install libsndfile*
37+
sudo apt-get install xvfb
38+
python -m pip install --upgrade pip
39+
pip install -r dev_requirements.txt
40+
pip install -e .
41+
- name: Lint with flake8
42+
run: |
43+
# stop the build if there are Python syntax errors or undefined names
44+
flake8 bcipy
45+
- name: Unit test
46+
if: always()
47+
run: |
48+
set +e
49+
xvfb-run coverage run --branch --source=bcipy -m pytest --mpl -k "not slow"
50+
if [ $? -eq 0 ]
51+
then
52+
echo "Ubuntu run complete!"
53+
elif [ $? -eq 134 ]
54+
then
55+
echo "Ubuntu tests run successfully, memory issues may be present"
56+
exit 0
57+
else
58+
echo "Ubuntu test failure"
59+
fi
60+
61+
build-windows:
62+
63+
runs-on: windows-latest
64+
strategy:
65+
fail-fast: false
66+
matrix:
67+
python-version: [3.7, 3.8]
68+
69+
steps:
70+
- uses: actions/checkout@v2
71+
- name: Set up Python ${{ matrix.python-version }}
72+
uses: actions/setup-python@v2
73+
with:
74+
python-version: ${{ matrix.python-version }}
75+
- name: Install dependencies
76+
run: |
77+
python -m pip install --upgrade pip
78+
pip install -r dev_requirements.txt
79+
pip install WxPython==4.1.1
80+
pip install -e .
81+
- name: Lint with flake8
82+
run: |
83+
# stop the build if there are Python syntax errors or undefined names
84+
flake8 bcipy
85+
- name: Unit test
86+
if: always()
87+
run: |
88+
coverage run --branch --source=bcipy -m pytest --mpl -k "not slow"
89+
90+
build-macos:
91+
92+
runs-on: macos-latest
93+
strategy:
94+
fail-fast: false
95+
matrix:
96+
python-version: [3.7, 3.8]
97+
98+
steps:
99+
- uses: actions/checkout@v2
100+
- name: Set up Python ${{ matrix.python-version }}
101+
uses: actions/setup-python@v2
102+
with:
103+
python-version: ${{ matrix.python-version }}
104+
- name: Install dependencies
105+
run: |
106+
python -m pip install --upgrade pip
107+
pip install -r dev_requirements.txt
108+
pip install WxPython==4.1.1
109+
pip install -e .
110+
- name: Lint with flake8
111+
run: |
112+
# stop the build if there are Python syntax errors or undefined names
113+
flake8 bcipy
114+
- name: Unit test
115+
if: always()
116+
run: |
117+
coverage run --branch --source=bcipy -m pytest --mpl -k "not slow"

0 commit comments

Comments
 (0)