]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
better warning when no input available
authormkrzewic <mikolaj.krzewicki@cern.ch>
Fri, 5 Dec 2014 10:31:55 +0000 (11:31 +0100)
committermkrzewic <mikolaj.krzewicki@cern.ch>
Fri, 5 Dec 2014 10:32:31 +0000 (11:32 +0100)
PWGPP/scripts/utilities.sh

index 9a7cdcfcb072717a5603edf65e5f452d11d00922..dda1bad5165376ffc1520a4ee374b3c3304eeb06 100644 (file)
@@ -434,8 +434,7 @@ plotStackTraceTree()
   local tree=$1
   local plot=${2:-"crashes.png"}
   local selection=${3:-'!strstr(method,\"G__\")'}
-  echo $selection
-  [[ ! -f ${tree} ]] && echo "no input" && return 1
+  [[ ! -f ${tree} ]] && echo "plotStackTraceTree: no input file given" && return 1
   aliroot -b <<EOF
 TTree* t=AliSysInfo::MakeTree("${tree}");
 TCanvas* canvas = new TCanvas("QA crashes","QA crashes",1);