Skip to content

Commit

Permalink
Update denoise.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jkobject authored Dec 10, 2024
1 parent 40d6c1d commit 3729bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scprint/tasks/denoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def __call__(self, model: torch.nn.Module, adata: AnnData):
self.genes = (
model.pos.cpu().numpy()
if self.how != "most var"
else list(set(model.genes) & set(genelist))
else list(set(model.genes) & set(self.genelist))
)
tokeep = None
metrics = None
Expand Down

0 comments on commit 3729bfb

Please sign in to comment.