From 115518a2c8729626fbc845f657bffb2db310c5bf Mon Sep 17 00:00:00 2001 From: Aritra Chakraborty Date: Sat, 29 Aug 2015 15:10:43 +0000 Subject: [PATCH] minor changes in commit and setting the script ID properly --- processing/post/fillTable.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/processing/post/fillTable.py b/processing/post/fillTable.py index a7c27d40c..7e4310288 100755 --- a/processing/post/fillTable.py +++ b/processing/post/fillTable.py @@ -5,7 +5,7 @@ import os,re,sys,string,fnmatch,math,random,numpy as np from optparse import OptionParser import damask -scriptID = string.replace('$Id: fillTable.py$','\n','\\n') +scriptID = '$Id$' scriptName = os.path.splitext(scriptID.split()[1])[0] def unravel(item): @@ -60,7 +60,7 @@ for name in filenames: except: continue table.croak('\033[1m'+scriptName+'\033[0m'+(': '+name if name else '')) -# ------------------------------------------ assemble info --------------------------------------- +# ------------------------------------------ assemble info ----------------------------------------- table.head_read() # ------------------------------------------ Evaluate condition --------------------------------------- @@ -115,8 +115,8 @@ for name in filenames: if label not in brokenFormula: evaluator[label] = formula # ------------------------------------------ assemble header --------------------------------------- - table.info_append(scriptID + '\t' + ' '.join(sys.argv[1:])) # read ASCII header info - table.labels # update with label set + table.info_append(scriptID + '\t' + ' '.join(sys.argv[1:])) # read ASCII header info + table.labels # update with label set table.head_write() # ------------------------------------------ process data ------------------------------------------