Skip to content

Commit

Permalink
Fix #39
Browse files Browse the repository at this point in the history
  • Loading branch information
gtca committed May 25, 2023
1 parent 3250bf8 commit 6ab1ade
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mudata/_core/mudata.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,7 @@ def _update_attr(self, attr: str, axis: int, join_common: bool = False):
# also, this is compatible to Muon.jl
col = data_mod.loc[:, colname] + 1
col.replace(np.NaN, 0, inplace=True)
col = col.astype(np.uint32)
data_mod.loc[:, colname] = col
data_mod[colname] = col.astype(np.uint32)

if len(data_global.columns) > 0:
# TODO: if there were intersecting attrnames between modalities,
Expand Down

0 comments on commit 6ab1ade

Please sign in to comment.