Skip to content

Commit

Permalink
Update _em_model.py
Browse files Browse the repository at this point in the history
Add argument `show_progress_bar` to `fit` method.
  • Loading branch information
WeilerP committed Dec 1, 2023
1 parent b2c8258 commit d120e50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scvelo/tools/_em_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def fit(
load_pars: bool = False,
steady_state_prior: Optional[List[bool]] = None,
assignment_mode: str = "projection",
show_progress_bar: bool = True,
**kwargs,
):
"""Fit the model."""
Expand Down Expand Up @@ -259,7 +260,7 @@ def fit(
unit="gene",
as_array=False,
backend=self._backend,
show_progress_bar=False, # len(self._var_names) > 9,
show_progress_bar=show_progress_bar,
)(
use_raw=use_raw,
load_pars=load_pars,
Expand Down

0 comments on commit d120e50

Please sign in to comment.