Skip to content

Commit fd6cdd8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fbc18bb commit fd6cdd8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/moscot/problems/_utils.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ def handle_joint_attr(
3636
return xy, kwargs
3737

3838
# if this is True we have custom cost matrix or moscot cost - in this case we have a custom cost matrix
39-
if joint_attr.get("tag", None) == "cost_matrix" and (
40-
len(joint_attr) == 2 or kwargs.get("attr") == "obsp"
41-
):
39+
if joint_attr.get("tag", None) == "cost_matrix" and (len(joint_attr) == 2 or kwargs.get("attr") == "obsp"):
4240
joint_attr.setdefault("cost", "custom")
4341
joint_attr.setdefault("attr", "obsp")
4442
kwargs["xy_callback"] = "cost-matrix"

0 commit comments

Comments
 (0)