Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Changelog

## Version 0.7.0 - 0.7.1
## Version 0.7.0 - 0.7.2

- All dependencies are now listed under optional, except for numpy and biocutils.
- Pin the version of byteme.
- Fix an issue when trying to access shape of the `MatrixWrapper` objects.

## Version 0.6.1

Expand Down
4 changes: 4 additions & 0 deletions src/rds2py/read_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ def __init__(self, matrix, dimnames=None) -> None:
self.matrix = matrix
self.dimnames = dimnames

@property
def shape(self):
return self.matrix.shape


def _as_sparse_matrix(robject: dict, **kwargs):
"""Convert an R sparse matrix to a SciPy sparse matrix.
Expand Down