aboutsummaryrefslogtreecommitdiff
path: root/scripts/precompute
diff options
context:
space:
mode:
authorPjotr Prins2024-05-16 02:04:07 -0500
committerPjotr Prins2024-05-16 02:04:07 -0500
commit31ea2b879d23d23b3389b9c3da59dba067c9f0f9 (patch)
tree74a49ebe764c05dd30a9cfd4f395f117718a3da5 /scripts/precompute
parent952a8311e22c2062f7b090ea65577b3ec2933403 (diff)
downloadgn-guile-31ea2b879d23d23b3389b9c3da59dba067c9f0f9.tar.gz
Use main when running script
Diffstat (limited to 'scripts/precompute')
-rwxr-xr-xscripts/precompute/list-traits-to-compute.scm4
1 files 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