[cig-commits] r19910 - short/3D/PyLith/benchmarks/trunk/static/performance/solvertest

brad at geodynamics.org brad at geodynamics.org
Fri Mar 30 08:48:39 PDT 2012


Author: brad
Date: 2012-03-30 08:48:38 -0700 (Fri, 30 Mar 2012)
New Revision: 19910

Modified:
   short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/run_convtest.py
   short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/run_pctests.py
Log:
Fixed typos in Python run scripts.

Modified: short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/run_convtest.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/run_convtest.py	2012-03-30 15:40:23 UTC (rev 19909)
+++ short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/run_convtest.py	2012-03-30 15:48:38 UTC (rev 19910)
@@ -16,7 +16,7 @@
 
 # ----------------------------------------------------------------------
 def runPyLith(args, logFilename):
-    log = open("logs/logFilename", "w")
+    log = open("logs/" + logFilename, "w")
     subprocess.call("pylith " + args, stdout=log, stderr=log, shell=True)
     log.close()
     return

Modified: short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/run_pctests.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/run_pctests.py	2012-03-30 15:40:23 UTC (rev 19909)
+++ short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/run_pctests.py	2012-03-30 15:48:38 UTC (rev 19910)
@@ -24,7 +24,7 @@
 
 # ----------------------------------------------------------------------
 def runPyLith(args, logFilename):
-    log = open("logs/logFilename", "w")
+    log = open("logs/" + logFilename, "w")
     subprocess.call("pylith " + args, stdout=log, stderr=log, shell=True)
     log.close()
     return



More information about the CIG-COMMITS mailing list