gnu: python-scanpy: Run tests conditionally.
* gnu/packages/bioinformatics.scm (python-scanpy)[arguments]: Respect TESTS? argument.
This commit is contained in:
parent
46432cceeb
commit
616bcc9c0b
1 changed files with 37 additions and 36 deletions
|
@ -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)
|
||||||
|
|
Reference in a new issue