about summary refs log tree commit diff
diff options
context:
space:
mode:
authorpjotrp <pjotr.public01@thebird.nl>2026-10-18 12:44:53 +0000
committerpjotrp <pjotr.public01@thebird.nl>2026-10-18 12:46:07 +0000
commit5daa4b8cbdfefba55c15b6549e2eec1c523ca3dc (patch)
treeb16af7177eec74e8975f41d3187aac8388921e1b
parent738b31b1af2fb1cd5b115d713022a64230ad29b3 (diff)
downloadguix-bioinformatics-5daa4b8cbdfefba55c15b6549e2eec1c523ca3dc.tar.gz
gemma-wrapper: bump to 9f4ffff, fixing broken --cache-dir caching
9f4ffff (pushed upstream on top of 3a9286c) fixes the cache-dir
archives so repeated kinship/GWA runs actually hit cache: the
archives never included *.log.txt, which the cache-hit check requires
alongside the data file, and the GWA branch had no unconditional
archive-unpack step without --lmdb (unlike the kinship branch), so a
valid cached archive could never be found.

Verified by building the package: the upstream Rakefile's own `rake
test` (run by this package's check phase) now reports real CACHE HIT!
lines for both the LOCO kinship and GWA steps instead of recomputing
GEMMA every time.
-rw-r--r--gn/packages/gemma.scm14
1 files changed, 10 insertions, 4 deletions
diff --git a/gn/packages/gemma.scm b/gn/packages/gemma.scm
index 5e99b06..f337a37 100644
--- a/gn/packages/gemma.scm
+++ b/gn/packages/gemma.scm
@@ -126,12 +126,18 @@ genome-wide association studies (GWAS).")
 
 
 (define-public gemma-wrapper
-  ;; Source: upstream master (commit 3a9286c, version 1.00-pre1).  The
+  ;; Source: upstream master (commit 9f4ffff, version 1.00-pre1).  The
   ;; published rubygem ships only bin/gemma-wrapper + lib/lock.rb, no
   ;; Rakefile and no test data; the git tag includes everything we
   ;; need for the LOCO regression test.
-  (let ((commit "3a9286c92ebe8d177fb0ca3b776aba1ddfce9904")
-        (revision "1"))
+  ;;
+  ;; 9f4ffff (on top of 3a9286c) fixes --cache-dir archives so repeated
+  ;; kinship/GWA runs actually hit cache: the archives never included
+  ;; *.log.txt (required by the cache-hit check alongside the data
+  ;; file), and the GWA branch had no unconditional archive-unpack step
+  ;; without --lmdb, unlike the kinship branch.
+  (let ((commit "9f4ffff4684be0b4ccd758f91af82a897ac99462")
+        (revision "2"))
     (package
       (name "gemma-wrapper")
       (version (git-version "1.00-pre1" revision commit))
@@ -143,7 +149,7 @@ genome-wide association studies (GWAS).")
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "1hfj4cr3l21k6sk308d2gvwlky2szyl1ziv364iv3q93rhjks59d"))))
+          (base32 "0kqzh6shjmzn6xr30nifcd339q7ahwi614vgjjbcmgm4nzyq1pff"))))
       (build-system ruby-build-system)
       (native-inputs (list ruby-rake))
       (propagated-inputs