From cf8b60986e28b91044f1a80cae531380c9e5b8d6 Mon Sep 17 00:00:00 2001 From: Claudio Zambaldi Date: Thu, 17 Nov 2011 21:19:08 +0000 Subject: [PATCH] response to Philip's comments. Interesting, chat via SVN :) --- lib/damask_test.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/damask_test.py b/lib/damask_test.py index 931a018b1..51be1fdab 100644 --- a/lib/damask_test.py +++ b/lib/damask_test.py @@ -74,7 +74,9 @@ class DAMASK_TEST(): for cmd in postproc: # PHILIP: suggestion to just execute the script "postprocessing" directly within a shell, i.e. os.system('../postprocessing') print(cmd) os.system(cmd) # PHILIP: reason is that for loops and the like get broken with line by line execution from here... - +# CLAUDIO: Actually that's what we had before - I stole the code from one of your scripts because for lengthy postprocessing, the user can then see the progress. I don't get the part about the breaking loops, let's discuss tomorrow. + + def compare_to_reference(self,tol=1e-5): import string print 'comparing results against reference_results...' @@ -109,4 +111,4 @@ class DAMASK_TEST(): if __name__ == "__main__": test=DAMASK_TESTER() test.run_test() - \ No newline at end of file +