From 31ea2b879d23d23b3389b9c3da59dba067c9f0f9 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 16 May 2024 02:04:07 -0500 Subject: Use main when running script --- scripts/precompute/list-traits-to-compute.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/precompute/list-traits-to-compute.scm b/scripts/precompute/list-traits-to-compute.scm index 1fb44c9..ea3a013 100755 --- a/scripts/precompute/list-traits-to-compute.scm +++ b/scripts/precompute/list-traits-to-compute.scm @@ -9,7 +9,7 @@ turned into a REST API. Run from base dir with - . .guix-shell -- guile -L . -s ./scripts/precompute/list-traits-to-compute.scm + . .guix-shell -- guile -L . -e main -s ./scripts/precompute/list-traits-to-compute.scm You may want to forward a mysql port if there is no DB locally @@ -34,7 +34,7 @@ you should see Now list the next 1000 trait IDs: - . .guix-shell -- guile -L . -s ./scripts/precompute/list-traits-to-compute.scm --first 0 --next 1000 + . .guix-shell -- guile -L . -e main -s ./scripts/precompute/list-traits-to-compute.scm --first 0 --next 1000 The current logic is to list all datasets that contain a BXD. (bxd-strain-id-names #:used-for-mapping? #t) fetches all ids and -- cgit v1.2.3