We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c4b686 commit 11a615fCopy full SHA for 11a615f
src/moscot/problems/_utils.py
@@ -53,7 +53,7 @@ def _handle_mapping_joint_attr(
53
}
54
return xy, xy_callback, xy_callback_kwargs # type: ignore[return-value]
55
56
- if joint_attr.get("tag", None) == "cost_matrix" and (len(joint_attr) == 2 or joint_attr.get("attr") == "obsp"):
+ if joint_attr.get("tag") == "cost_matrix" and (len(joint_attr) == 2 or joint_attr.get("attr") == "obsp"):
57
joint_attr.setdefault("cost", "custom")
58
joint_attr.setdefault("attr", "obsp")
59
xy_callback = "cost-matrix"
0 commit comments