aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/genenetwork.scm
diff options
context:
space:
mode:
authorEfraim Flashner2019-10-10 04:25:05 -0500
committerEfraim Flashner2019-10-10 04:25:05 -0500
commit27c79d5c3cb32d4734853defa44a7b3f83e8d53e (patch)
tree010c62a36690d7bc11aa103e7591a5270b3b6e0f /gn/packages/genenetwork.scm
parent98ac34265936e5bf4ecb371bee11d82069e3b853 (diff)
parentcb55444671fd2334a606d360773b339ef6a2a6fe (diff)
downloadguix-bioinformatics-27c79d5c3cb32d4734853defa44a7b3f83e8d53e.tar.gz
Merge remote-tracking branch 'origin/core-updates'
Diffstat (limited to 'gn/packages/genenetwork.scm')
-rw-r--r--gn/packages/genenetwork.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index 7e5a04e..b9ebcc4 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -206,7 +206,17 @@ location of a putative QTL.")
("rust-rayon" ,rust-rayon-1.0)
("rust-serde" ,rust-serde)
("rust-serde-json" ,rust-serde-json)
- ("rust-ndarray" ,rust-ndarray))))
+ ("rust-ndarray" ,rust-ndarray))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'update-test-data
+ (lambda _
+ (substitute* "src/geneobject.rs"
+ ;; array![Genotype::Unk, Genotype::Unk, Genotype::Pat]
+ (("0.3421367343627405") "0.3421367343627406")
+ ;; array![Genotype::Unk, Genotype::Unk, Genotype::Unk]
+ (("-0.3223330030526561") "-0.32233300305265566"))
+ #t)))))
(home-page "https://github.com/chfi/rust-qtlreaper")
(synopsis "Reimplementation of genenetwork/QTLReaper in Rust")
(description "Reimplementation of genenetwork/QTLReaper in Rust")