-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error/Warning for incompatible terms with solvers #681
Conversation
This reverts commit 7457fbf.
for more information, see https://pre-commit.ci
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #681 +/- ##
==========================================
- Coverage 78.19% 77.99% -0.20%
==========================================
Files 36 36
Lines 3806 3818 +12
Branches 706 712 +6
==========================================
+ Hits 2976 2978 +2
- Misses 524 529 +5
- Partials 306 311 +5
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@@ -105,7 +104,7 @@ def test_solve_balanced( | |||
|
|||
tp = TranslationProblem(adata_src, adata_tgt) | |||
tp = tp.prepare(batch_key="batch", src_attr=src_attr, tgt_attr=tgt_attr) | |||
tp = tp.solve(epsilon=epsilon, alpha=alpha, rank=rank, **kwargs) | |||
tp = tp.solve(epsilon=epsilon, rank=rank, **kwargs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please include a test where you explicitly have a fused term, too.
Fixes #680.
After adding tests to assert that errors are thrown it should be done.