-
Notifications
You must be signed in to change notification settings - Fork 21
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
Implementation of CINEMA-OT for pertpy #377
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
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.
Thank you very much for the really fast contribution!
- I made a couple of minor corrections and removed unused imports and parameters. Feel free to checkout my last commit if I deleted a parameter that you actually wanted to implement.
- I've uploaded your test dataset to our figshare and wrote a dataloader for it.
- I rewrote your tests with a fixture.
FAILED tests/tools/test_cinemaot.py::TestCinemaot::test_pseudobulk - TypeError: Setting a MultiIndex dtype to anything other than object is not supported
This test seems to fail? Could you please try to fix it?- In an ideal world, the tests would also test not just that the code runs but that the results are also within some expected range.
@MingzeDong I'll merge this today but it'd be really awesome if you could submit a follow up PR with a few improved tests and the failing test being fixed.
Thank you so much! |
Thanks! I have submitted a follow up PR and will submit a tutorial notebook later. |
Implementation of CINEMA-OT using the ott-jax library. Including an updated usage.md, tl.Cinemaot class and CinemaotPlot class. A test file is included. Let me know if there are any issues.