@@ -267,7 +267,6 @@ inputDir=$(realpath $inputDir)
267267[ -z " $outputDir " ] && outputDir=$( realpath $( pwd -P) /outfiles/$dataset ) || outputDir=$( realpath $outputDir )
268268
269269# set subdirectories
270- finalDirPreQA=$outputDir /timeline_web_preQA
271270finalDir=$outputDir /timeline_web
272271logDir=$outputDir /log
273272
279278INPUT_DIR = $inputDir
280279DATASET_NAME = $dataset
281280OUTPUT_DIR = $outputDir
282- FINAL_DIR_PREQA = $finalDirPreQA
283281FINAL_DIR = $finalDir
284282LOG_DIR = $logDir
285283PUBLISH_DIR = $publishDir
@@ -316,9 +314,9 @@ detDirs=(
316314
317315# cleanup output directories
318316if $enableAna ; then
319- if [ -d $finalDirPreQA ]; then
320- printWarning " removing output directory $finalDirPreQA "
321- rm -r $finalDirPreQA
317+ if [ -d $finalDir ]; then
318+ printWarning " removing output directory $finalDir "
319+ rm -r $finalDir
322320 fi
323321 if [ -d $logDir ]; then
324322 printWarning " removing log directory $logDir "
@@ -327,7 +325,7 @@ if $enableAna; then
327325fi
328326
329327# make output directories
330- mkdir -p $logDir $finalDirPreQA $ finalDir
328+ mkdir -p $logDir $finalDir
331329
332330
333331# #################################################################################
@@ -366,7 +364,7 @@ if $enableAna; then
366364 }
367365
368366 # change working directory to output directory
369- pushd $finalDirPreQA
367+ pushd $finalDir
370368
371369 # make detector subdirectories
372370 for detDir in ${detDirs[@]} ; do
@@ -439,26 +437,6 @@ if $enableAna; then
439437 popd
440438fi
441439
442- # #####################################
443- # run QA
444- # #####################################
445-
446- if $enableAna ; then
447- # first, copy the timelines to the final timeline directory
448- echo " >>> copy timelines to final directory..."
449- cp -rL $finalDirPreQA /* $finalDir /
450- # then add the QA lines
451- echo " >>> add QA lines..."
452- logFile=$logDir /qa
453- $TIMELINESRC /libexec/run-groovy-timeline.sh $TIMELINESRC /qa-detectors/util/applyBounds.groovy $finalDirPreQA $finalDir > $logFile .out 2> $logFile .err || touch $logFile .fail
454- outputFiles=$( find $finalDir -name " *_QA.hipo" )
455- logFile=$logDir /qa_hipo-check
456- if [ -n " $outputFiles " ]; then
457- $TIMELINESRC /libexec/hipo-check.sh $outputFiles > $logFile .out 2> $logFile .err || touch $logFile .fail
458- fi
459- fi
460-
461-
462440
463441# #####################################
464442# error checking
0 commit comments