GNU bug report logs - #63929
[PATCH] gnu: Add python-decoupler-py.

Previous Next

Package: guix-patches;

Reported by: Navid Afkhami <navid.afkhami <at> mdc-berlin.de>

Date: Tue, 6 Jun 2023 16:17:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63929 in the body.
You can then email your comments to 63929 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63929; Package guix-patches. (Tue, 06 Jun 2023 16:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Navid Afkhami <navid.afkhami <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 06 Jun 2023 16:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add python-decoupler-py.
Date: Tue, 6 Jun 2023 18:15:46 +0200
* gnu/packages/bioinformatics.scm (python-decoupler-py): New variable.
---
 gnu/packages/bioinformatics.scm | 58 +++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 509dc3358b..12455984ed 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1549,6 +1549,64 @@ (define-public python-cmseq
 and sequence consensus.")
     (license license:expat)))
 
+(define-public python-decoupler-py
+  ;; This latest commit fixes the bug in test_omnip.py file. check_if_omnipath() has changed to _check_if_omnipath()
+  (let ((commit "b84c524ec4a9280a56c0db963e2c7b010316ce8f")
+        (revision "1"))
+    (package
+      (name "python-decoupler-py")
+      (version (git-version "1.3.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/saezlab/decoupler-py")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0d74yr5jqc52vcxaca84kxqw7m5rbazpmvnrcp2y4xxrj6yr1sfc"))))
+      (build-system pyproject-build-system)
+      (arguments
+       (list #:test-flags '(list "-k"
+                                 ;; These tests require internet access
+                                 (string-append "not test_get_resource"
+                                  " and not test_show_resources"
+                                  " and not test_get_dorothea"
+                                  " and not test_get_progeny"
+                                  " and not test_plot_volcano"))
+             #:phases '(modify-phases %standard-phases
+                         (add-before 'check 'set-home
+                           ;; Some tests require a home directory to be set.
+                           (lambda _
+                             (setenv "HOME" "/tmp")))
+                         ;; Numba needs a writable dir to cache functions.
+                         (add-before 'build 'set-numba-cache-dir
+                           (lambda _
+                             (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
+      (propagated-inputs (list python-adjusttext
+                               python-anndata
+                               python-ipython
+                               python-matplotlib
+                               python-nbsphinx
+                               python-numba
+                               python-numpy
+                               python-numpydoc
+                               python-omnipath
+                               python-scanpy
+                               python-scikit-learn
+                               python-scipy
+                               python-skranger
+                               python-tqdm
+                               python-typing-extensions))
+      (native-inputs (list python-pytest))
+      (home-page "https://github.com/saezlab/decoupler-py")
+      (synopsis
+       "Framework for modeling, analyzing and interpreting single-cell RNA-seq data")
+      (description
+       "Different statistical methods to extract biological activities
+from omics data within a unified framework.")
+      (license license:gpl3+))))
+
 (define-public python-demuxem
   (package
     (name "python-demuxem")

base-commit: 9ad8b0c2ef10d8de01bad25f54337c5df35aa842
-- 
2.34.1





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Tue, 06 Jun 2023 19:38:01 GMT) Full text and rfc822 format available.

Notification sent to Navid Afkhami <navid.afkhami <at> mdc-berlin.de>:
bug acknowledged by developer. (Tue, 06 Jun 2023 19:38:02 GMT) Full text and rfc822 format available.

Message #10 received at 63929-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 63929-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-decoupler-py.
Date: Tue, 06 Jun 2023 21:36:59 +0200
Applied with some minor changes.  Good job!

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Jul 2023 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 351 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.