[Swift-commit] r5716 - provenancedb/apps/SciColSim

lgadelha at ci.uchicago.edu lgadelha at ci.uchicago.edu
Thu Mar 15 19:12:05 CDT 2012


Author: lgadelha
Date: 2012-03-15 19:12:05 -0500 (Thu, 15 Mar 2012)
New Revision: 5716

Modified:
   provenancedb/apps/SciColSim/SciColSim_extractor.sh
Log:
Minor fix.


Modified: provenancedb/apps/SciColSim/SciColSim_extractor.sh
===================================================================
--- provenancedb/apps/SciColSim/SciColSim_extractor.sh	2012-03-14 19:44:33 UTC (rev 5715)
+++ provenancedb/apps/SciColSim/SciColSim_extractor.sh	2012-03-16 00:12:05 UTC (rev 5716)
@@ -4,7 +4,7 @@
 # 
 
 PROVDB_HOME=~/provenancedb
-SCICOLSIM_HOME=/home/lgadelha/SciColSim
+SCICOLSIM_HOME=~/scicolsimruns
 IMPORT_HOME=/tmp
 
 #cp $PROVDB_HOME/etc/provenance.config.ci $PROVDB_HOME/etc/provenance.config
@@ -16,7 +16,7 @@
     run_dir=$(echo "$k" | awk -F "annealing-" '{print $1}')
     cd $SCICOLSIM_HOME/$run_dir
     full_dir=$(pwd)
-    log_suffix=$(echo "$k" | awk -F "^." '{print $2}')
+    log_suffix=$(echo "$k" | awk -F "/" '{print $3}')
     count=$($SQLCMD --tuples-only -c "select count(*) from script_run where log_filename like '%$log_suffix';" | awk '{print $1}')
     if [ "$count" -eq "0" ]; then
 	echo "export LOGREPO=$full_dir" > $PROVDB_HOME/etc/provenance.config




More information about the Swift-commit mailing list