Skip to content

Commit 9df5cac

Browse files
committed
path bugfux, cleanup
1 parent 5bdd347 commit 9df5cac

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

bin/run-clara

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash -f
22

33
ulimit -u 49152 >& /dev/null
44
export JAVA_OPTS="${JAVA_OPTS} -XX:+IgnoreUnrecognizedVMOptions"
55

66
usage="Usage: run-clara [-i IN] [-o OUT] [-c CLARA] [-t #] [-n #] YAML"
7-
info="\nOptions:\n
8-
YAML path to CLARA YAML steering file\n
7+
info='\nOptions:\n
8+
YAML - path to CLARA YAML steering file\n
99
-i input HIPO file or directory of *.hipo files (default=.)\n
1010
-o output directory (default=.)\n
11-
-c CLARA installation (default=\$CLARA_HOME)\n
11+
-c CLARA installation (default=$CLARA_HOME)\n
1212
-t number of threads (default=2)\n
1313
-n number of events (default=-1)\n\n
14-
Defaults will use \$CLARA_HOME to read all *.hipo files in \$PWD,\n
15-
with all output written to \$PWD."
14+
Defaults will use $CLARA_HOME to read all *.hipo files in $PWD,\n
15+
with all output written to $PWD.'
1616

1717
function error() {
1818
echo -e "\n$usage\n\nERROR: $@." && exit 1

validation/advanced-tests/run-advanced-tests.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#!/bin/sh -f
22

3-
# this test needs rewritten, with more useful data (not KPP),
4-
# meanwhile not worth maintaining ...
5-
#exit 0
6-
73
# coatjava must already be built at ../../coatjava/
84

95
# set up environment
@@ -27,7 +23,7 @@ export JAVA_OPTS="-Djava.util.logging.config.file=$PWD/../../etc/logging/debug.p
2723
$COAT/bin/decoder -t -0.5 -s 0.0 -i ./twoTrackEvents_809_raw.evio -o ./twoTrackEvents_809.hipo -c 2
2824

2925
# run clara
30-
$COAT/bin/run-clara $COAT/etc/services.kpp.yaml || echo "reconstruction with clara failure" && exit 1
26+
$COAT/bin/run-clara $COAT/etc/services/kpp.yaml || echo "reconstruction with clara failure" && exit 1
3127

3228
# compile test codes
3329
javac -cp $classPath src/kpptracking/KppTrackingTest.java

0 commit comments

Comments
 (0)