Minor corrections to mlog2db as workaround for root-tokenizing-problems when reading in DB-files in musrfit: [JIRA] (MUSR-6)

This commit is contained in:
Bastian M. Wojek 2008-11-18 18:48:30 +00:00
parent 59e95d014f
commit e941accb57

View File

@ -435,15 +435,15 @@ else
else dataArray[i+3] = "0000" else dataArray[i+3] = "0000"
} }
negErrArray[i] = "" negErrArray[i] = "0"
negErrArray[i+1] = "" negErrArray[i+1] = "0"
negErrArray[i+2] = "" negErrArray[i+2] = "0"
negErrArray[i+3] = "" negErrArray[i+3] = "0"
posErrArray[i] = "" posErrArray[i] = "0"
posErrArray[i+1] = "" posErrArray[i+1] = "0"
posErrArray[i+2] = "" posErrArray[i+2] = "0"
posErrArray[i+3] = "" posErrArray[i+3] = "0"
# Read in the runlist-variable names # Read in the runlist-variable names
if(runList == 1){ if(runList == 1){
@ -463,11 +463,11 @@ else
print "Abstract" >> outfile print "Abstract" >> outfile
print ">>>Put your abstract here<<<\n" >> outfile print ">>>Put your abstract here<<<\n" >> outfile
print "LABELS" >> outfile print "LABELS" >> outfile
print "T [K]" >> outfile print "T (K)" >> outfile
print "Tr [kV]" >> outfile print "Tr (kV)" >> outfile
print "E [keV]" >> outfile print "E (keV)" >> outfile
print "RAL-RAR [kV]" >> outfile print "RAL-RAR (kV)" >> outfile
print "RAT-RAB [kV]" >> outfile print "RAT-RAB (kV)" >> outfile
if(runList == 1){ if(runList == 1){
for(k=2;k<=numIndVar;k++){print indVar[k] >> outfile} for(k=2;k<=numIndVar;k++){print indVar[k] >> outfile}