Skip to content

Commit

Permalink
Merge pull request #93 from lilab-bcb/yiming
Browse files Browse the repository at this point in the history
Fix issue with DropletUtils::read10xCount function in R
  • Loading branch information
yihming committed May 18, 2022
2 parents 94039b3 + baf66c0 commit 48fb21e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pegasusio/hdf5_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,9 @@ def _write_h5(data, output_file):
shuffle=True,
)
grp.create_dataset(
name="shape", data=(n_feature, n_obs)
name="shape",
dtype=np.int32,
data=(n_feature, n_obs),
) # feature-by-barcode

feature_grp = grp.create_group("features")
Expand Down

0 comments on commit 48fb21e

Please sign in to comment.