Skip to content
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

feat(external): add velovi to external #2611

Merged
merged 8 commits into from Mar 11, 2024
Merged

feat(external): add velovi to external #2611

merged 8 commits into from Mar 11, 2024

Conversation

martinkim0
Copy link
Contributor

closes feature request #2610

@adamgayoso
Copy link
Member

cc @WeilerP

@martinkim0 martinkim0 changed the title feat(external): transfer velovi to external feat(external): add velovi to external Mar 11, 2024
@martinkim0 martinkim0 added this to the scvi-tools 1.2.0 milestone Mar 11, 2024
@martinkim0 martinkim0 added the on-merge: backport to 1.2.x on-merge: backport to 1.2.x label Mar 11, 2024
Copy link

codecov bot commented Mar 11, 2024

Codecov Report

Attention: Patch coverage is 76.36632% with 160 lines in your changes are missing coverage. Please review.

Project coverage is 88.71%. Comparing base (6062656) to head (9b11417).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2611      +/-   ##
==========================================
- Coverage   89.90%   88.71%   -1.20%     
==========================================
  Files         154      159       +5     
  Lines       12629    13306     +677     
==========================================
+ Hits        11354    11804     +450     
- Misses       1275     1502     +227     
Files Coverage Δ
scvi/external/__init__.py 100.00% <100.00%> (ø)
scvi/external/velovi/__init__.py 100.00% <100.00%> (ø)
scvi/external/velovi/_constants.py 100.00% <100.00%> (ø)
scvi/external/velovi/_utils.py 27.58% <27.58%> (ø)
scvi/external/velovi/_module.py 82.40% <82.40%> (ø)
scvi/external/velovi/_model.py 76.06% <76.06%> (ø)

... and 2 files with indirect coverage changes

@martinkim0 martinkim0 linked an issue Mar 11, 2024 that may be closed by this pull request
@martinkim0 martinkim0 merged commit 6ea4bf9 into main Mar 11, 2024
10 checks passed
@martinkim0 martinkim0 deleted the velovi branch March 11, 2024 20:41
meeseeksmachine pushed a commit to meeseeksmachine/scvi-tools that referenced this pull request Mar 11, 2024
martinkim0 added a commit that referenced this pull request Mar 11, 2024
…rnal) (#2612)

Backport PR #2611: feat(external): add velovi to external

Co-authored-by: Martin Kim <46072231+martinkim0@users.noreply.github.com>
@WeilerP
Copy link

WeilerP commented Mar 17, 2024

@martinkim0, the idea was to have velovi as part of the scvelo package. Either way is fine for me, we should just only have one option, IMO. What do you think, @adamgayoso?

@adamgayoso
Copy link
Member

So I'm mostly indifferent, I had forgotten about this. But a few thoughts:

  1. I think it will be easier to maintain if it's in scvi-tools because then it's easier to integrate any API changes (so that @martinkim0 doesn't have to make PRs into scvelo).
  2. In that scenario, scvelo would export the model here, special utilities could be removed from here and kept only in scvelo, and the docs here can point to the scvelo docs for complete usage.

But really I think either is fine. @martinkim0 perhaps you should revert this as we make a decision.

@WeilerP
Copy link

WeilerP commented Mar 17, 2024

I think that's totally reasonable and the better option! Let's keep it here and I'll remove it from scvelo.

@martinkim0
Copy link
Contributor Author

Great! So I'm going to keep this commit then but remove the utility functions (get_permutation_scores and preprocess_data) and open a PR to add them to scvelo. Does that sound good?

@WeilerP
Copy link

WeilerP commented Mar 18, 2024

Great! So I'm going to keep this commit then but remove the utility functions (get_permutation_scores and preprocess_data) and open a PR to add them to scvelo. Does that sound good?

Sounds good to me! Let's discuss everything else in the corresponding PR. Thanks in advance!

martinkim0 added a commit that referenced this pull request Mar 29, 2024
BREAKING CHANGE: removes `scvi.external.velovi.get_permutation_scores`
and `scvi.external.velovi.preprocess_data` based on discussion in #2611
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-merge: backport to 1.2.x on-merge: backport to 1.2.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transfer veloVI to external
3 participants