Skip to content

Commit c5f60fb

Browse files
authored
Merge pull request #287 from josephrich98/low_memory_h5ad
h5ad lower RAM
2 parents 786b2e1 + 6457a1e commit c5f60fb

File tree

8 files changed

+15
-13
lines changed

8 files changed

+15
-13
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup python
1515
uses: actions/setup-python@v1
1616
with:
17-
python-version: '3.8'
17+
python-version: '3.9'
1818
architecture: x64
1919
- name: Install dependencies
2020
run: pip install -r dev-requirements.txt

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# kb-python
2-
![github version](https://img.shields.io/badge/Version-0.29.1-informational)
3-
[![pypi version](https://img.shields.io/pypi/v/kb-python)](https://pypi.org/project/kb-python/0.29.1/)
2+
![github version](https://img.shields.io/badge/Version-0.29.2-informational)
3+
[![pypi version](https://img.shields.io/pypi/v/kb-python)](https://pypi.org/project/kb-python/0.29.2/)
44
![python versions](https://img.shields.io/pypi/pyversions/kb_python)
55
![status](https://github.com/pachterlab/kb_python/workflows/CI/badge.svg)
66
[![codecov](https://codecov.io/gh/pachterlab/kb_python/branch/master/graph/badge.svg)](https://codecov.io/gh/pachterlab/kb_python)
@@ -98,7 +98,7 @@ The `kb info` command prints out package information including the version of `k
9898

9999
```bash
100100
$ kb info
101-
kb_python 0.29.1 ...
101+
kb_python 0.29.2 ...
102102
kallisto: 0.51.1 ...
103103
bustools: 0.44.1 ...
104104
...

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
author = 'Kyung Hoi (Joseph) Min'
2525

2626
# The full version, including alpha/beta/rc tags
27-
release = '0.29.1'
27+
release = '0.29.2'
2828
master_doc = 'index'
2929

3030
# -- General configuration ---------------------------------------------------

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Welcome to kb-python's documentation!
77
=====================================
88

9-
This page contains **DEVELOPER** documentation for ``kb-python`` version ``0.29.1``.
9+
This page contains **DEVELOPER** documentation for ``kb-python`` version ``0.29.2``.
1010
For user documentation and tutorials, please go to `kallisto | bustools <https://www.kallistobus.tools/>`_.
1111

1212
Development Prerequisites

kb_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.29.1'
1+
__version__ = '0.29.2'

kb_python/utils.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -664,11 +664,13 @@ def import_matrix_as_anndata(
664664
)
665665
df_barcodes.index = df_batch_barcodes.index + df_barcodes.index
666666
df_genes = pd.read_csv(
667-
genes_path, header=None, index_col=0, names=[name_column], sep='\t'
667+
genes_path,
668+
header=None,
669+
index_col=0,
670+
names=[name_column],
671+
sep='\t',
672+
dtype={0: str}
668673
)
669-
df_genes.index = df_genes.index.astype(
670-
str
671-
) # To prevent logging from anndata
672674
mtx = scipy.io.mmread(matrix_path)
673675
adata = collapse_anndata(
674676
anndata.AnnData(X=mtx.tocsr(), obs=df_barcodes, var=df_genes)

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.29.1
2+
current_version = 0.29.2
33
commit = True
44
tag = True
55

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def read(path):
1010

1111
setup(
1212
name='kb_python',
13-
version='0.29.1',
13+
version='0.29.2',
1414
url='https://github.com/pachterlab/kb_python',
1515
author='Kyung Hoi (Joseph) Min',
1616
author_email='[email protected]',

0 commit comments

Comments
 (0)