We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f56e9f5 commit 249f536Copy full SHA for 249f536
analysis/CTA.WPPhysWriter.qsub.sh
@@ -36,11 +36,11 @@ then
36
DE=$(grep "error filling" $OXUTNAME.$AXRRAY.$OXBSTIME.log)
37
DF=$(grep "error, cannot find effective area tree" $OXUTNAME.$AXRRAY.$OXBSTIME.log)
38
if [[ -z ${DE} ]] && [[ -z ${DF} ]]; then
39
- bzip2 -f $OXUTNAME.$AXRRAY.$OXBSTIME.log
40
# root file
41
DROOT=$(cat $OXUTNAME.$AXRRAY.$OXBSTIME.log | grep "writing histograms" | awk '{print $4}')
42
if [[ -e ${DROOT} ]]; then
43
- $EVNDISPSYS/bin/logFile IRFLog $OXUTNAME.$AXRRAY.$OXBSTIME.log
+ $EVNDISPSYS/bin/logFile IRFLog ${DROOT} $OXUTNAME.$AXRRAY.$OXBSTIME.log
+ rm -f $OXUTNAME.$AXRRAY.$OXBSTIME.log
44
fi
45
46
0 commit comments