Archived
1
0
Fork 0

gnu: python-scanpy: Run tests conditionally.

* gnu/packages/bioinformatics.scm (python-scanpy)[arguments]: Respect TESTS?
argument.
This commit is contained in:
Ricardo Wurmus 2021-11-15 15:12:50 +00:00
parent 46432cceeb
commit 616bcc9c0b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -11996,7 +11996,8 @@ implementation differs in these ways:
wheel (string-append "--prefix=" out))) wheel (string-append "--prefix=" out)))
(find-files "dist" "\\.whl$"))))) (find-files "dist" "\\.whl$")))))
(replace 'check (replace 'check
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key tests? inputs #:allow-other-keys)
(when tests?
;; These tests require Internet access. ;; These tests require Internet access.
(delete-file-recursively "scanpy/tests/notebooks") (delete-file-recursively "scanpy/tests/notebooks")
(delete-file "scanpy/tests/test_clustering.py") (delete-file "scanpy/tests/test_clustering.py")
@ -12036,7 +12037,7 @@ implementation differs in these ways:
" and not test_plot_rank_genes_groups_gene_symbols" " and not test_plot_rank_genes_groups_gene_symbols"
" and not test_pca_chunked" " and not test_pca_chunked"
" and not test_pca_sparse" " and not test_pca_sparse"
" and not test_pca_reproducible"))))))) " and not test_pca_reproducible"))))))))
(propagated-inputs (propagated-inputs
`(("python-anndata" ,python-anndata) `(("python-anndata" ,python-anndata)
("python-h5py" ,python-h5py) ("python-h5py" ,python-h5py)