Skip to content

Commit

Permalink
Fix bug when exporting as AnnData objects (#71)
Browse files Browse the repository at this point in the history
bump `BiocFrame` package version.
  • Loading branch information
jkanche authored May 16, 2024
1 parent 0da8672 commit 98d90ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ python_requires = >=3.8
install_requires =
importlib-metadata; python_version<"3.8"
genomicranges>=0.4.4,<0.5.0
biocframe>=0.5.4,<0.6.0
biocframe>=0.5.10,<0.6.0
biocutils>=0.1.4,<0.2.0

[options.packages.find]
Expand Down
3 changes: 0 additions & 3 deletions src/summarizedexperiment/BaseSE.py
Original file line number Diff line number Diff line change
Expand Up @@ -1210,9 +1210,6 @@ def to_anndata(self):
if self._row_names is not None:
trows.index = self._row_names

if trows.empty:
trows.index = range(self._shape[0])

tcols = self._cols.to_pandas()
if self._column_names is not None:
tcols.index = self._column_names
Expand Down

0 comments on commit 98d90ff

Please # to comment.