Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

* MINOR CHANGE: Component tests use the `cxg_mouse_pancreas_atlas` test resources instead of the deprecated `pancreas` ones. Its notebook now keeps every processing step.

* BUG FIX: `processors/pca` stored the explained variance and the variance ratio under each other's name in `uns['pca_variance']`.

* BUG FIX: `processors/subsample` no longer fails when the `--keep_*` filters leave fewer cells than `--n_obs`.

* MINOR CHANGE: Failed Nextflow processes are no longer ignored, so a failing dataset fails the run.
Expand Down
2 changes: 1 addition & 1 deletion src/processors/pca/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
feature_mask = np.ones(adata.n_vars, dtype=bool)

print(">> Run PCA", flush=True)
X_pca, loadings, variance, variance_ratio = sc.tl.pca(
X_pca, loadings, variance_ratio, variance = sc.tl.pca(
layer[:, feature_mask],
n_comps=par["num_components"],
random_state=par["seed"],
Expand Down