Skip to content

Commit 2ee20d4

Browse files
Merge pull request #259 from techno-sam/feat/kb_extract
Add kb extract command Co-author: @techno-sam
2 parents fd3a198 + 395cec4 commit 2ee20d4

10 files changed

+643
-9
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,9 @@ venv.bak/
109109
.DS_Store
110110
.vscode/
111111
.Rhistory
112+
113+
# PyCharm
114+
/.idea/
115+
116+
# Temp files
117+
/scratch/

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
test:
44
rm -f .coverage
5-
nosetests --verbose --with-coverage --cover-package kb_python tests/* tests/dry/*
5+
pytest --verbose --cov=kb_python tests/* tests/dry/* && coverage report && coverage xml
6+
# nosetests --verbose --with-coverage --cover-package kb_python tests/* tests/dry/*
67

78
check:
89
flake8 kb_python && echo OK

dev-requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
bumpversion==0.6.0
22
coverage==5.1
33
flake8==3.8.2
4-
nose==1.3.7
4+
pytest==8.2.2
5+
pytest-cov==5.0.0
56
pre-commit==2.4.0
67
sphinx>=3.3.1
78
sphinx-autoapi>=1.5.1

docs/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ necessary packages by running::
1818
pip install -r requirements.txt
1919
pip install -r dev-requirements.txt
2020

21-
Code qualty and unit tests are strictly enforced for every pull request via
21+
Code quality and unit tests are strictly enforced for every pull request via
2222
Github actions.
2323

2424
Code Quality
@@ -33,7 +33,7 @@ at the root of the repository.
3333

3434
Unit-testing
3535
""""""""""""
36-
``kb-python`` uses ``nose`` to run unit tests. There is a convenient Makefile
36+
``kb-python`` uses ``pytest`` to run unit tests. There is a convenient Makefile
3737
rule in place to run all tests.::
3838

3939
make test

kb_python/config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def get_compiled_kallisto_path(alias: str = COMPILED_DIR) -> Optional[str]:
5858
"""Finds platform-dependent kallisto binary compiled with `compile`.
5959
6060
Args:
61-
Alias: Alias of compiled binary.
61+
alias: Alias of compiled binary.
6262
6363
Returns:
6464
Path to the binary, `None` if not found
@@ -74,7 +74,7 @@ def get_compiled_bustools_path(alias: str = COMPILED_DIR) -> Optional[str]:
7474
"""Finds platform-dependent bustools binary compiled with `compile`.
7575
7676
Args:
77-
Alias: Alias of compiled binary.
77+
alias: Alias of compiled binary.
7878
7979
Returns:
8080
Path to the binary, `None` if not found

0 commit comments

Comments
 (0)