Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 501ac58 commit 78f059f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions workflow/scripts/utils/_milo.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ def fit(self, **kwargs):
SCVI.setup_anndata(
adata_,
batch_key=batch_key,
categorical_covariate_keys=self.categorical_nuisance_keys[1:]
if len(self.categorical_nuisance_keys) > 1
else None,
categorical_covariate_keys=(
self.categorical_nuisance_keys[1:]
if len(self.categorical_nuisance_keys) > 1
else None
),
)
self.adata_ = adata_
scvi_model = SCVI(adata_, **self.model_kwargs)
Expand Down

0 comments on commit 78f059f

Please sign in to comment.