fixed reporting of arguments

This commit is contained in:
Luv Sharma 2014-01-15 15:10:13 +00:00
parent cbc6f2a3af
commit 649b8b91fe
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ for file in files:
file['output'].write('\n'.join(microstructure) + \
'\n'.join(texture))
else:
header = [scriptID ' ' + ' '.join(sys.argv[1:]) + '\n']
header = [scriptID + ' ' + ' '.join(sys.argv[1:]) + '\n']
header.append("grid\ta %i\tb %i\tc %i\n"%(info['grid'][0],info['grid'][1],info['grid'][2],))
header.append("size\tx %f\ty %f\tz %f\n"%(info['size'][0],info['size'][1],info['size'][2],))
header.append("origin\tx %f\ty %f\tz %f\n"%(info['origin'][0],info['origin'][1],info['origin'][2],))