-
Notifications
You must be signed in to change notification settings - Fork 34
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
Speed up clonotype distance calculation #470
Conversation
Hi @felixpetschko, I just had a look at the failing tests. Most of them are indeed direct or indirect failures due to the new distance calculator. Some of them are testing the API of the At first, I suggest you take a look at the tests in LMK if anything is unclear! Gregor |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…scirpy into compute_distances
for more information, see https://pre-commit.ci
…scirpy into compute_distances
@grst Now I could make all tests pass without changing them - I didn't break the API. There are still some documentation and other refinements needed. |
for more information, see https://pre-commit.ci
…scirpy into compute_distances
for more information, see https://pre-commit.ci
I dropped support for python 3.9 in the main branch which changed some of the formatting rules (most notably I resolved the (few) merge conflicts and hopefully didn't break anything. |
…scirpy into compute_distances
for more information, see https://pre-commit.ci
…scirpy into compute_distances
for more information, see https://pre-commit.ci
…scirpy into compute_distances
for more information, see https://pre-commit.ci
…scirpy into compute_distances
for more information, see https://pre-commit.ci
Hi @grst , now I added some documentation and did some variable renaming for clarification. I also added testing for the j_gene matching.
I also allowed to use the "fastgreedy" algorithm for the graph partitioning since it's used for the BCR analysis. However I have been told that choosing a different partitioning method doesn't make a big difference in most cases. There still seems to be a test case that has some problems with the python versions (conda / test (ubuntu-latest, 3.12) (pull_request)) Could you maybe take a look at it? Besides from that I am done with my implementations so far. If everything is fine for you I would make some final test runs on the cluster tomorrow. Then we can finally finish this PR :) |
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, LGTM now!
I'll merge it and make a release on Monday just in time for the conference.
The conda test failure is not your fault. I just retriggered it, if it doesn't fix itself I'll look into it or we can ignore it for now.
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Close #368
Close #507
compute_distances new version added