We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 353a3c1 commit 293fa43Copy full SHA for 293fa43
libexec/gold-diff
100644
100755
libexec/gold-run
@@ -1,8 +1,17 @@
1
#!/bin/bash
2
3
-exe=decoder4u -n 10000
+exe='decoder4u -n 10000'
4
csv=gold.csv
5
-cache=$(cd $(dirname ${BASH_SOURCE[0]}) &> /dev/null && pwd)/pin-gold.txt
+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
15
IFS=$'\n'
16
17
for x in $(tail -n +2 $csv)
0 commit comments