-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add warning when input files are missing
- Loading branch information
Showing
4 changed files
with
57 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# How to contribute | ||
|
||
## Install | ||
|
||
- fork the repository | ||
- clone your fork | ||
|
||
```bash | ||
git clone https://github.com/YOUR_GITHUB_USERNAME/eye2bids.git | ||
``` | ||
|
||
- install the package in editable mode with all its development dependencies | ||
|
||
```bash | ||
cd eye2bids | ||
pip install -e '.[dev]' | ||
``` | ||
|
||
## Test | ||
|
||
|
||
To run the tests, you need to install the [test data from OSF](https://osf.io/jdv7n/) | ||
by running the following command: | ||
|
||
```bash | ||
python tools/download_test_data.py | ||
``` | ||
|
||
You can then run any test by using pytest | ||
|
||
```bash | ||
python -m pytest tests/path_to_test_file.py::function_to_run | ||
``` | ||
|
||
For example: | ||
```bash | ||
python -m pytest tests/test_edf2bids.py::test_convert_edf_to_asc_events | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters