response to Philip's comments. Interesting, chat via SVN :)
This commit is contained in:
parent
ac8b5f0708
commit
cf8b60986e
|
@ -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')
|
for cmd in postproc: # PHILIP: suggestion to just execute the script "postprocessing" directly within a shell, i.e. os.system('../postprocessing')
|
||||||
print(cmd)
|
print(cmd)
|
||||||
os.system(cmd) # PHILIP: reason is that for loops and the like get broken with line by line execution from here...
|
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):
|
def compare_to_reference(self,tol=1e-5):
|
||||||
import string
|
import string
|
||||||
print 'comparing results against reference_results...'
|
print 'comparing results against reference_results...'
|
||||||
|
@ -109,4 +111,4 @@ class DAMASK_TEST():
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
test=DAMASK_TESTER()
|
test=DAMASK_TESTER()
|
||||||
test.run_test()
|
test.run_test()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue