File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,10 +13,9 @@ usage() {
1313 Run clas12-timeline commands.
1414
1515 COMMAND: the command to run, one of:
16- histogram Run the timeline histogramming jobs
17- analysis Analyze the histograms and generate timelines
18- deploy Deploy the timelines to the web server
19- error Scan for errors in Slurm logs
16+ histogram Run the timeline histogramming jobs (Step 1)
17+ analysis Analyze the histograms and generate timelines (Step 2)
18+ error Scan for errors in Slurm logs (for Step 1)
2019
2120 OPTIONS: Each command has its own set of options; run a command with no
2221 additional options to see usage for that command.
3736case $cmd in
3837 hi* ) exec $TIMELINESRC /bin/thyme-histogram " $@ " ;;
3938 an* ) exec $TIMELINESRC /bin/thyme-analysis " $@ " ;;
40- de* ) exec $TIMELINESRC /bin/thyme-deploy " $@ " ;;
4139 er* ) exec $TIMELINESRC /bin/thyme-error " $@ " ;;
4240 -v|--version)
4341 echo $( mvn -q -Dexec.executable=echo -Dexec.args=' ${project.version}' --non-recursive exec:exec -f $TIMELINESRC /pom.xml || echo " UNKNOWN" )
Original file line number Diff line number Diff line change 2727
2828# usage
2929sep=" ================================================================"
30- usage () {
30+ usageTerse () {
3131 echo " " "
3232 $sep
3333 USAGE: thyme analysis [OPTIONS]...
3434 $sep
35- Analyzes histograms and produces timeline HIPO files
35+ Analyzes histograms and produces timelines.
3636
3737 CHEF OPTIONS: most of these are required for chef's production
3838
@@ -59,8 +59,10 @@ $(find $TIMELINESRC/data/metadata -name "*.json" -exec basename {} .json \; | se
5959 -n [NOTE] additional note that will be shown on the clas12mon webpage
6060 (i.e., the README file); surround your note in quotes
6161 - default: ''
62-
63- ADDITIONAL OPTIONS:
62+ " " " >&2
63+ }
64+ usageVerbose () {
65+ echo " " " ADDITIONAL OPTIONS:
6466
6567 -o [OUTPUT_DIR] output directory for the analyzed timelines
6668 default = ./outfiles/[DATASET_NAME]
@@ -90,7 +92,8 @@ $(find $TIMELINESRC/data/metadata -name "*.json" -exec basename {} .json \; | se
9092 " " " >&2
9193}
9294if [ $# -eq 0 ]; then
93- usage
95+ usageTerse
96+ echo " For more options, run with '--help'" >&2
9497 exit 101
9598fi
9699
@@ -123,7 +126,8 @@ while getopts "d:i:p:f:n:o:j:t:m:h-:" opt; do
123126 esac
124127done
125128if ${modes['help']} ; then
126- usage
129+ usageTerse
130+ usageVerbose
127131 exit 101
128132fi
129133
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ outputDir=""
2626sep=" ================================================================"
2727usageTerse () {
2828 echo " " "
29- Run the timeline histogramming jobs
29+ Run the timeline histogramming jobs.
30+ NOTE: This is not for chefs; instead, use the chef's workflow.
31+
3032 $sep
3133 USAGE: thyme histogram -d [DATASET_NAME] [RUN_DIRECTORY]
3234 $sep
@@ -40,14 +42,13 @@ usageTerse() {
4042 one is for detector QA timelines and the other is for physics QA timelines.
4143 Output files will appear in ./outfiles/[DATASET_NAME]
4244
43- For more options, run:
44- $0 --help
45+ For more options, run with '--help'
4546 " " " >&2
4647}
4748usageVerbose () {
4849 echo " " "
4950 $sep
50- USAGE: $0 [OPTIONS]... [RUN_DIRECTORY]...
51+ USAGE: thyme histogram [OPTIONS]... [RUN_DIRECTORY]...
5152 $sep
5253
5354 REQUIRED ARGUMENTS:
You can’t perform that action at this time.
0 commit comments