From 247afd63f28e75066649f54dfdbe913764d53518 Mon Sep 17 00:00:00 2001 From: Kjartan Oli Agustsson Date: Wed, 18 Jun 2025 18:07:30 +0000 Subject: [PATCH] gnu: python-ikarus: Run guix style * gnu/packages/bioinformatics.scm (python-ikarus): Run guix style. Change-Id: I493beb55986808a8ba27eadcc48d8a2a20b1678e Signed-off-by: Sharlatan Hellseher --- gnu/packages/bioinformatics.scm | 45 +++++++++++++++------------------ 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index aa5b12afacafe32a190efd43d253320c92629d2f..80e5f24f8fbe7f1834d145674797eaa229d15d67 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -22225,32 +22225,29 @@ single-cell RNA-seq data.") (method url-fetch) (uri (pypi-uri "ikarus" version)) (sha256 - (base32 - "086czpvj4yafz4vrq5rx2gy0bj2l8nzwnkk0gw8qvy4w133xjysy")))) + (base32 "086czpvj4yafz4vrq5rx2gy0bj2l8nzwnkk0gw8qvy4w133xjysy")))) (build-system pyproject-build-system) (arguments - `(#:tests? #false - #:phases - (modify-phases %standard-phases - ;; See https://github.com/BIMSBbioinfo/ikarus/issues/12 - (add-after 'unpack 'fix-issue-12 - (lambda _ - (substitute* "ikarus/classifier.py" - (("pyscenic.genesig") "ctxcore.genesig")))) - ;; Numba needs a writable dir to cache functions. - (add-before 'check 'set-numba-cache-dir - (lambda _ - (setenv "NUMBA_CACHE_DIR" "/tmp")))))) - (propagated-inputs - (list python-numpy - python-pandas - python-scipy - python-scanpy - python-anndata - python-ctxcore ;because of issue 12 - pyscenic)) - (native-inputs - (list python-setuptools python-wheel)) + `(#:tests? #f + #:phases (modify-phases %standard-phases + ;; See https://github.com/BIMSBbioinfo/ikarus/issues/12 + (add-after 'unpack 'fix-issue-12 + (lambda _ + (substitute* "ikarus/classifier.py" + (("pyscenic.genesig") + "ctxcore.genesig")))) + ;; Numba needs a writable dir to cache functions. + (add-before 'check 'set-numba-cache-dir + (lambda _ + (setenv "NUMBA_CACHE_DIR" "/tmp")))))) + (propagated-inputs (list python-numpy + python-pandas + python-scipy + python-scanpy + python-anndata + python-ctxcore ;because of issue 12 + pyscenic)) + (native-inputs (list python-setuptools python-wheel)) (home-page "https://github.com/BIMSBbioinfo/ikarus") (synopsis "Machine learning classifier of tumor cells") (description