Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gtca committed Oct 16, 2024
1 parent 3af3502 commit 9a4c931
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions muon/_core/preproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,6 @@ def func(x):
else:
raise ValueError("When providing var_names directly, func has to be None.")


if isinstance(data, AnnData):
# Collect elements to subset
# NOTE: accessing them after subsetting .var
Expand Down Expand Up @@ -901,7 +900,7 @@ def func(x):
# Subset .varp
for k, v in data.varp.items():
data.varp[k] = v[var_subset][:, var_subset]

# filter_var() for each modality
for m, mod in data.mod.items():
varmap = data.varmap[m][var_subset]
Expand Down

0 comments on commit 9a4c931

Please sign in to comment.