Skip to content

Commit c0a5fd5

Browse files
fixed csr import bug
1 parent 886c09e commit c0a5fd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

batchglm/data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ def xarray_from_data(
9595
# X.coords[dims[1]] = np.asarray(data.var_names)
9696
X = SparseXArrayDataSet(
9797
X=data,
98-
obs_names=np.asarray(data.obs_names),
99-
feature_names=np.asarray(data.var_names),
98+
obs_names=None,
99+
feature_names=None,
100100
dims=dims
101101
)
102102
else:

0 commit comments

Comments
 (0)