Mercurial > hg > cc > cirrus_work
view bin/cdbp.sh @ 339:1485b43a1dc2 trim
with graphs, various additions including no_LM column
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Tue, 03 Mar 2026 14:25:09 +0000 |
| parents | 3bd6378eb64e |
| children | bd931adc820b |
line wrap: on
line source
#!/usr/bin/bash # One cdb pipeline step, doing 1/17th of the work # Usage: cdbp.sh i # where i is the 0-origin index of a 17th, so e.g. cdbp.sh 2 will run # test_cdbp.py ... ks_%d-%d.cdb 2 3 12 18 i=$1 k1=$((i >= 16 ? ((i * 6) - 1) : (i * 6))) k2=$((i < 15 ? (i + 1) * 6 : 90 + (i - 14) * 5)) #k2=$((k2 > 100 ? 100 : k2)) echo $(printf lmh_%d-%d.cdb $k1 $((k2 - 1))) 1>&2 cat $(printf lmh_%d-%d.cdb $k1 $((k2 - 1))) > /dev/null python3 -c 'import cdb_one;cdb_one.mainp()' lmh_%d-%d.cdb $k1 $k2
