-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
119 additions
and
77 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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022 International Brain Laboratory | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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 |
---|---|---|
@@ -1,26 +1,76 @@ | ||
# PyBpod # | ||
# iblpybpod # | ||
|
||
**version:** 1.8.2a2 | ||
**version:** 2.0.0 | ||
|
||
iblpybpod is a GUI application that enables interaction with the Bpod device from [Sanworks](https://sanworks.io/). Much credit | ||
and thanks go to the original creators of the [pybpod project](https://github.com/pybpod/pybpod). | ||
|
||
This project is has recently been adopted by the software development team at the International Brain Lab and is very much a 'work | ||
in progress' at the moment. | ||
This project has recently been adopted by the software development team at the International Brain Lab to bring the code into | ||
modernity. | ||
|
||
## Steps to install ## | ||
## Installation for use | ||
|
||
Currently, only Python v3.8 on Ubuntu 22.04 and Windows 10 is being tested. | ||
|
||
### Python venv commands for setup | ||
```bash | ||
python3.8 -m venv iblpybpod | ||
source iblpybpod/bin/activate | ||
python -m pip install --upgrade pip wheel | ||
python -m pip install iblpybpod | ||
start-pybpod | ||
``` | ||
|
||
### Anaconda commands for setup | ||
```bash | ||
conda create --name iblpybpod python=3.8 | ||
conda activate iblpybpod | ||
pip install iblpybpod | ||
start-pybpod | ||
``` | ||
|
||
## Steps to setup development environment ## | ||
--- | ||
|
||
## For developers | ||
This repository is adhering to the following conventions: | ||
* [semantic versioning](https://semver.org/) for consistent version numbering logic | ||
* [gitflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow) for managing branches | ||
* [Flake8](https://flake8.pycqa.org/) for style guide enforcement | ||
|
||
![](README_semver.png) | ||
![](README_gitflow_workflow.png) | ||
|
||
Please review these conventions to more easily contribute to the project. | ||
|
||
### New feature branches: | ||
- a `new_feature` branch is forked from the current `develop` branch | ||
- the `new_feature` branch is then merged back into the `develop` branch | ||
- the `new_feature` branch will eventually be deleted | ||
|
||
### Release candidate branches: | ||
- a release candidate, `rc` branch is a "pre-release" branch for beta testers on production rigs | ||
- the `rc` branch is forked from the `develop` branch | ||
- once the `rc` has been thoroughly tested, it will be merged into `master` and `develop` | ||
- the `rc` branch will eventually be deleted | ||
|
||
### Hotfix branches: | ||
- a `hotfix` or `maintenance` branch is forked from `master` | ||
- once the fix has been thoroughly tested, it will get merged back into `master` and `develop` | ||
- the `hotfix` branch will eventually be deleted | ||
|
||
### Python venv commands for setup | ||
```bash | ||
python3.8 -m venv iblpybpod-dev | ||
source iblpybpod-dev/bin/activate | ||
python -m pip install --upgrade pip wheel | ||
git clone https://github.com/int-brain-lab/iblpybpod | ||
python -m pip install --editable iblpybpod | ||
``` | ||
|
||
### Anaconda commands for setup | ||
```bash | ||
conda create --name iblpybpod-dev python=3.8 | ||
conda activate iblpybpod-dev | ||
git clone https://github.com/int-brain-lab/iblpybpod | ||
pip install --editable iblpybpod | ||
start-pybpod | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.