[cig-commits] r4493 - cs/benchmark/trunk/benchmark/short/applications

baagaard at geodynamics.org baagaard at geodynamics.org
Fri Sep 8 08:08:56 PDT 2006


Author: baagaard
Date: 2006-09-08 08:08:56 -0700 (Fri, 08 Sep 2006)
New Revision: 4493

Modified:
   cs/benchmark/trunk/benchmark/short/applications/geofesttoh5.py
   cs/benchmark/trunk/benchmark/short/applications/pylithtoh5.py
Log:
Fixed bug where list of time steps was not mapper to list of ints.

Modified: cs/benchmark/trunk/benchmark/short/applications/geofesttoh5.py
===================================================================
--- cs/benchmark/trunk/benchmark/short/applications/geofesttoh5.py	2006-09-07 22:21:49 UTC (rev 4492)
+++ cs/benchmark/trunk/benchmark/short/applications/geofesttoh5.py	2006-09-08 15:08:56 UTC (rev 4493)
@@ -89,7 +89,7 @@
             raise ValueError("Property mesh_name must be supplied.")
         self.meshName = self.inventory.meshName
         self.scenarioRoot = self.inventory.scenarioRoot
-        self.timeSteps = self.inventory.timeSteps
+        self.timeSteps = map(int, self.inventory.timeSteps)
         self.discretization = self.inventory.discretization
         return
     

Modified: cs/benchmark/trunk/benchmark/short/applications/pylithtoh5.py
===================================================================
--- cs/benchmark/trunk/benchmark/short/applications/pylithtoh5.py	2006-09-07 22:21:49 UTC (rev 4492)
+++ cs/benchmark/trunk/benchmark/short/applications/pylithtoh5.py	2006-09-08 15:08:56 UTC (rev 4493)
@@ -94,7 +94,7 @@
         self.meshName = self.inventory.meshName
         self.scenarioRoot = self.inventory.scenarioRoot
         self.numProcs = self.inventory.numProcs
-        self.timeSteps = self.inventory.timeSteps
+        self.timeSteps = map(int, self.inventory.timeSteps)
         self.discretization = self.inventory.discretization
         return
     



More information about the cig-commits mailing list