Skip to content

Commit 11a615f

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/moscot/problems/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def _handle_mapping_joint_attr(
5353
}
5454
return xy, xy_callback, xy_callback_kwargs # type: ignore[return-value]
5555

56-
if joint_attr.get("tag", None) == "cost_matrix" and (len(joint_attr) == 2 or joint_attr.get("attr") == "obsp"):
56+
if joint_attr.get("tag") == "cost_matrix" and (len(joint_attr) == 2 or joint_attr.get("attr") == "obsp"):
5757
joint_attr.setdefault("cost", "custom")
5858
joint_attr.setdefault("attr", "obsp")
5959
xy_callback = "cost-matrix"

0 commit comments

Comments
 (0)