Mercurial > hg > cc > work
changeset 70:db142018ff9e default tip
build _17_ .cdb files
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Tue, 11 Feb 2025 17:10:31 +0000 |
parents | fb3dcd144e59 |
children | |
files | lurid3/notes.txt |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lurid3/notes.txt Tue Feb 11 15:31:47 2025 +0000 +++ b/lurid3/notes.txt Tue Feb 11 17:10:31 2025 +0000 @@ -1510,6 +1510,12 @@ 16 ks_divs.tsv So, has to be 17 :-( + + >: cut -f 1 ../ks_divs.tsv | { i=0; while read j; do printf "%s\t%s\n" $i $j; i=$((j+1)); done ; printf "%s\t%s\n" $i 99 ; } | parallel --colsep "\t" 'echo cat ../\{{1}..{2}\}/ks.tsv \> ks_{1}-{2}.tsv \&' +[couldn't make this work as written, hence the echo, followed by copy-paste] + >: cut -f 1 ../ks_divs.tsv | { i=0; while read j; do printf "ks_%s-%s\n" $i $j; i=$((j+1)); done ; printf "ks_%s-%s\n" $i 99; } | parallel -j 9 '~/lib/python/cc/lmh/ks2cdb.py -f {}.tsv -c {}.cdb_in' & + >: cut -f 1 ../ks_divs.tsv | { i=0; while read j; do printf "ks_%s-%s\n" $i $j; i=$((j+1)); done ; printf "ks_%s-%s\n" $i 99; } | parallel -j 9 'cdbmake {}.cdb {}.tmp <{}.cdb_in' & + >: cut -f 1 ../ks_divs.tsv | { i=0; while read j; do printf "ks_%s-%s\n" $i $j; i=$((j+1)); done ; printf "ks_%s-%s\n" $i 99; } | parallel -j 9 'cdb < {}.cdb' > cdbtest.out & ================ Try it with the existing _per segment_ index we have for 2019-35