-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MRG] Allows one to pass in a list of units to scale each channel sep…
…arately (#66) * Fixing bv writer. * Adding updates changelog. * Fixing flake. * Update docs/changelog.rst * Adding updated api. * Update pybv/io.py Co-authored-by: Richard Höchenberger <[email protected]> * Fixing comments by hoech. * Fixing comments by hoech. * Update docs/changelog.rst Co-authored-by: Stefan Appelhoff <[email protected]> * Update pybv/io.py Co-authored-by: Stefan Appelhoff <[email protected]> * Update pybv/io.py Co-authored-by: Stefan Appelhoff <[email protected]> * Adding fix to stef comment. * Allows now unsupported units. * Fix. * Adding a Makefile. * Adding a notes section on passin gunits. * Fixing supported units. * Trying to fix. * Trying to fix. * Address cl comment. * Fixing scaling. * Update Makefile Co-authored-by: Stefan Appelhoff <[email protected]> * address comments. * Address stefan comments. * Apply @cbrnr's suggestion Co-authored-by: Clemens Brunner <[email protected]> * Update pybv/io.py Co-authored-by: Clemens Brunner <[email protected]> * Update pybv/io.py Co-authored-by: Clemens Brunner <[email protected]> * Update pybv/io.py Co-authored-by: Clemens Brunner <[email protected]> * Update pybv/io.py Co-authored-by: Clemens Brunner <[email protected]> * Fix flake. * Update pybv/io.py Co-authored-by: Richard Höchenberger <[email protected]> * Update pybv/io.py Co-authored-by: Clemens Brunner <[email protected]> * Fixing docstring. * Fixing test. * Address doc comments. * Clearer warnings and style Co-authored-by: Richard Höchenberger <[email protected]> Co-authored-by: Stefan Appelhoff <[email protected]> Co-authored-by: Clemens Brunner <[email protected]>
- Loading branch information
1 parent
31baca0
commit 8896a67
Showing
5 changed files
with
257 additions
and
61 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 |
---|---|---|
|
@@ -12,3 +12,5 @@ coverage.xml | |
/coverage | ||
htmlcov/ | ||
.vscode/ | ||
.venv | ||
.idea |
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,33 @@ | ||
# simple makefile to simplify repetitive build env management tasks under posix | ||
|
||
PYTHON ?= python | ||
PYTESTS ?= pytest | ||
|
||
all: inplace test | ||
|
||
inplace: | ||
$(PYTHON) setup.py develop | ||
|
||
test-doc: | ||
$(PYTESTS) --doctest-modules --doctest-ignore-import-errors pybv | ||
|
||
flake: | ||
@if command -v flake8 > /dev/null; then \ | ||
echo "Running flake8"; \ | ||
flake8 --docstring-convention numpy --count pybv; \ | ||
else \ | ||
echo "flake8 not found, please install it!"; \ | ||
exit 1; \ | ||
fi; | ||
@echo "flake8 passed" | ||
|
||
pydocstyle: | ||
@echo "Running pydocstyle" | ||
@pydocstyle | ||
|
||
pep: | ||
@$(MAKE) -k flake pydocstyle | ||
|
||
build-doc: | ||
cd doc; make clean | ||
cd doc; make html |
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
Oops, something went wrong.