From 9b679c3c0bb3860088fd7efcf4f2f338416cb63b Mon Sep 17 00:00:00 2001 From: Christoph Kords Date: Tue, 31 Jan 2012 13:08:25 +0000 Subject: [PATCH] switched to damask include instead of outdated damask_tools --- processing/post/addStrainTensors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processing/post/addStrainTensors.py b/processing/post/addStrainTensors.py index a31802a68..a4fd4866d 100755 --- a/processing/post/addStrainTensors.py +++ b/processing/post/addStrainTensors.py @@ -1,6 +1,6 @@ #!/usr/bin/python -import os,re,sys,math,numpy,string,damask_tools +import os,re,sys,math,numpy,string,damask from optparse import OptionParser, Option # ----------------------------- @@ -99,7 +99,7 @@ else: for file in files: if file['name'] != 'STDIN': print file['name'] - table = damask_tools.ASCII_TABLE(file['input'],file['output'],False) # make unbuffered ASCII_table + table = damask.ASCIItable(file['input'],file['output'],False) # make unbuffered ASCII_table table.head_read() # read ASCII header info table.info_append(string.replace('$Id$','\n','\\n') + \ '\t' + ' '.join(sys.argv[1:]))