From deb5d58ca4ae5e2429e58e7e300097bbb579ad12 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 06:31:08 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/moscot/base/problems/compound_problem.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/moscot/base/problems/compound_problem.py b/src/moscot/base/problems/compound_problem.py index 4887e1704..44d010b1d 100644 --- a/src/moscot/base/problems/compound_problem.py +++ b/src/moscot/base/problems/compound_problem.py @@ -382,7 +382,9 @@ def _( for _src, _tgt in [(src, tgt)] + rest: problem = self.problems[_src, _tgt] fun = problem.push if forward else problem.pull - res[_tgt if forward else _src] = current_mass = fun(current_mass, scale_by_marginals=scale_by_marginals, **kwargs) + res[_tgt if forward else _src] = current_mass = fun( + current_mass, scale_by_marginals=scale_by_marginals, **kwargs + ) return res if return_all else current_mass