From e941accb57db145a18edfd74a172243ae0dbde98 Mon Sep 17 00:00:00 2001 From: "Bastian M. Wojek" Date: Tue, 18 Nov 2008 18:48:30 +0000 Subject: [PATCH] Minor corrections to mlog2db as workaround for root-tokenizing-problems when reading in DB-files in musrfit: [JIRA] (MUSR-6) --- src/external/scripts/mlog2db | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/external/scripts/mlog2db b/src/external/scripts/mlog2db index ff4f2d10..7dead48c 100755 --- a/src/external/scripts/mlog2db +++ b/src/external/scripts/mlog2db @@ -435,15 +435,15 @@ else else dataArray[i+3] = "0000" } - negErrArray[i] = "" - negErrArray[i+1] = "" - negErrArray[i+2] = "" - negErrArray[i+3] = "" + negErrArray[i] = "0" + negErrArray[i+1] = "0" + negErrArray[i+2] = "0" + negErrArray[i+3] = "0" - posErrArray[i] = "" - posErrArray[i+1] = "" - posErrArray[i+2] = "" - posErrArray[i+3] = "" + posErrArray[i] = "0" + posErrArray[i+1] = "0" + posErrArray[i+2] = "0" + posErrArray[i+3] = "0" # Read in the runlist-variable names if(runList == 1){ @@ -463,11 +463,11 @@ else print "Abstract" >> outfile print ">>>Put your abstract here<<<\n" >> outfile print "LABELS" >> outfile - print "T [K]" >> outfile - print "Tr [kV]" >> outfile - print "E [keV]" >> outfile - print "RAL-RAR [kV]" >> outfile - print "RAT-RAB [kV]" >> outfile + print "T (K)" >> outfile + print "Tr (kV)" >> outfile + print "E (keV)" >> outfile + print "RAL-RAR (kV)" >> outfile + print "RAT-RAB (kV)" >> outfile if(runList == 1){ for(k=2;k<=numIndVar;k++){print indVar[k] >> outfile}