[Swift-commit] r2680 - provenancedb

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Wed Mar 11 10:16:13 CDT 2009


Author: benc
Date: 2009-03-11 10:16:13 -0500 (Wed, 11 Mar 2009)
New Revision: 2680

Modified:
   provenancedb/prov-to-opm.sh
Log:
Was reading the wrong fields from execute.global.event

Modified: provenancedb/prov-to-opm.sh
===================================================================
--- provenancedb/prov-to-opm.sh	2009-03-11 15:15:41 UTC (rev 2679)
+++ provenancedb/prov-to-opm.sh	2009-03-11 15:16:13 UTC (rev 2680)
@@ -11,11 +11,11 @@
 
 echo "<processes>" >> opm.xml
 
-while read time duration thread endstate app scratch; do
+while read time duration globalthread localthread endstate app scratch; do
 
-echo "  <process id=\"$thread\">"
+echo "  <process id=\"$globalthread\">"
 echo "    <account id=\"base\" />"
-echo "    <swift:info starttime=\"$starttime\" duration=\"$duration\" endstate=\"$endstate\" app=\"$app\" scratch=\"$scratch\"/>"
+echo "    <swift:info starttime=\"$time\" duration=\"$duration\" endstate=\"$endstate\" app=\"$app\" scratch=\"$scratch\"/>"
 # TODO no value here - this is some URI into an ontology, which is don't
 # really know how should be mapped from Swift
 echo "  </process>"




More information about the Swift-commit mailing list