aboutsummaryrefslogtreecommitdiff
path: root/gn/past/genenetwork1.scm
diff options
context:
space:
mode:
authorShepherd on Tux022024-06-20 07:26:21 -0500
committerShepherd on Tux022024-06-20 07:26:21 -0500
commitf0f8dc84eca7088177797f84db05314537615c77 (patch)
tree5a7408a19c92b0c4d536916269425d883c4f06ca /gn/past/genenetwork1.scm
parent951e77b10c84889f29c1f2322087c796cedb375a (diff)
parent48af9393cf186230e08b0fa6f7f443bc818408d2 (diff)
downloadguix-bioinformatics-f0f8dc84eca7088177797f84db05314537615c77.tar.gz
Merge branch 'master' of https://gitlab.com/genenetwork/guix-bioinformatics
Diffstat (limited to 'gn/past/genenetwork1.scm')
-rw-r--r--gn/past/genenetwork1.scm18
1 files changed, 12 insertions, 6 deletions
diff --git a/gn/past/genenetwork1.scm b/gn/past/genenetwork1.scm
index c557ee7..717aff6 100644
--- a/gn/past/genenetwork1.scm
+++ b/gn/past/genenetwork1.scm
@@ -44,7 +44,6 @@
#:use-module (past packages python)
#:use-module (past packages web)
#:use-module (gn packages bioinformatics)
- #:use-module (gn packages twint)
#:use-module (gn packages databases)
#:use-module (gn packages elixir)
#:use-module (gn packages gemma)
@@ -110,15 +109,22 @@ location of a putative QTL.")
`(#:python ,python-2.4
#:phases
(modify-phases %standard-phases
+ (replace 'add-install-to-pythonpath
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (setenv "PYTHONPATH"
+ (string-append (site-packages inputs outputs) ":"
+ (getenv "PYTHONPATH")))))
+ (delete 'sanity-check) ; Not applicable to python-2.4
(add-after 'unpack 'make-max-markername-size-larger
(lambda _
(substitute* "Src/dataset.c"
- (("512") "2048"))
- #t))
+ (("512") "2048"))))
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "test/runtest.py"))))))
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (setenv "PYTHONPATH" (string-append (site-packages inputs outputs) ":"
+ (getenv "PYTHONPATH")))
+ (invoke "python" "test/runtest.py")))))))
(native-inputs
`(("python24-setuptools" ,python24-setuptools)))
(home-page "http://qtlreaper.sourceforge.net/")