Skip to content

Commit 293fa43

Browse files
committed
add help printout
1 parent 353a3c1 commit 293fa43

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

libexec/gold-diff

100644100755
File mode changed.

libexec/gold-run

100644100755
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
#!/bin/bash
22

3-
exe=decoder4u -n 10000
3+
exe='decoder4u -n 10000'
44
csv=gold.csv
5-
cache=$(cd $(dirname ${BASH_SOURCE[0]}) &> /dev/null && pwd)/pin-gold.txt
5+
cache=pin-gold.txt
6+
7+
if ! [ -f $csv ] || ! [ -f $cache ]
8+
then
9+
echo "ERROR: This requires the gold text files from the 'raw-data' repository"
10+
echo "to be in your current working directory. The easiest way to get them:"
11+
echo "GIT_LFS_SKIP_SMUDGE=1 git clone https://code.jlab.org/hallb/clas12/raw-data.git"
12+
exit 1
13+
fi
14+
615
IFS=$'\n'
716

817
for x in $(tail -n +2 $csv)

0 commit comments

Comments
 (0)