Closed selmanozleyen closed 1 day ago
Attention: Patch coverage is 85.81560%
with 20 lines
in your changes missing coverage. Please review.
Project coverage is 78.13%. Comparing base (
3151da7
) to head (7535065
). Report is 46 commits behind head on main.:exclamation: Current head 7535065 differs from pull request most recent head b11efac
Please upload reports for the commit b11efac to get more accurate results.
@MUCDK the problem is even though 3.10 passes 3.9 now fails. The results change between these versions
Ok can we skip the test for python 3.9?
Sure will update the tests in a new PR then
These are the things I want to do first. related: #596
From reading through ottjax only the
__call__
functions on solvers absorb kwargs that aren't recognized. And they are because either they are given to create_geometry methods or create_initializer methods:So this is kind of good news because from what I read from moscot, call_fn arguments are filtered before here: https://github.com/theislab/moscot/blob/e21677e6fbf1e5484b1c69a8ba55587dbf40f009/src/moscot/base/solver.py#L145-L164
Overall this means:
prepare
methods absorbing kwargs ourselves in moscot, by simply removing the usage of kwargs in concrete classes, so I will dedicate this PR to itsolve
we will need to refactor things from ottjax. It won't be too hard and I already spotted where they are being ignored. If we refactor ottjax we might not need any changes in moscot since the error will be thrown from there.Related issues (will be closed after merge):
I separated some issues from this PR so that we can work on them later:
Now that the tests pass these are the things to do:
handle_joint_attr
)