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

chore(test): add pre batch key condscvi save #2629

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Conversation

martinkim0
Copy link
Contributor

adds a basic CondSCVI save file for backwards compatibility testing in #2626. generated as follows:

adata = synthetic_iid()
CondSCVI.setup_anndata(adata, "labels")
model = CondSCVI(adata)
model.train(max_epochs=1)
model.save(".../tests/test_data/condscvi_pre_batch")

@martinkim0 martinkim0 added the on-merge: backport to 1.2.x on-merge: backport to 1.2.x label Mar 25, 2024
@martinkim0 martinkim0 added this to the scvi-tools 1.2.0 milestone Mar 25, 2024
Copy link

codecov bot commented Mar 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.69%. Comparing base (59cf360) to head (469684c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2629      +/-   ##
==========================================
- Coverage   89.20%   88.69%   -0.52%     
==========================================
  Files         159      159              
  Lines       13308    13308              
==========================================
- Hits        11872    11803      -69     
- Misses       1436     1505      +69     

see 2 files with indirect coverage changes

@martinkim0 martinkim0 merged commit 6bdf1ec into main Mar 25, 2024
13 checks passed
@martinkim0 martinkim0 deleted the condscvi-save branch March 25, 2024 19:31
meeseeksmachine pushed a commit to meeseeksmachine/scvi-tools that referenced this pull request Mar 25, 2024
martinkim0 added a commit that referenced this pull request Mar 25, 2024
…dscvi save) (#2630)

Backport PR #2629: chore(test): add pre batch key condscvi save

Co-authored-by: Martin Kim <46072231+martinkim0@users.noreply.github.com>
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.

None yet

1 participant