[Swift-commit] r8335 - SwiftApps/dsp-swift

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Thu Dec 11 16:25:42 CST 2014


Author: ketan
Date: 2014-12-11 16:25:42 -0600 (Thu, 11 Dec 2014)
New Revision: 8335

Modified:
   SwiftApps/dsp-swift/swiftjumpdsp.py
Log:
first cut

Modified: SwiftApps/dsp-swift/swiftjumpdsp.py
===================================================================
--- SwiftApps/dsp-swift/swiftjumpdsp.py	2014-12-11 22:08:10 UTC (rev 8334)
+++ SwiftApps/dsp-swift/swiftjumpdsp.py	2014-12-11 22:25:42 UTC (rev 8335)
@@ -41,7 +41,7 @@
         p = next(myargs)
         I = next(myargs)
         local_or_compute = next(myargs)
-        outlist = next(myargs)
+        outlistfile = next(myargs)
     except:
         traceback.print_exc()
         sys.exit(1)
@@ -49,7 +49,7 @@
     #which swift
     swift = "/home/ketan/swift-0.95/cog/modules/swift/dist/swift-svn/bin/swift"
     outloc = "$HOME/outdir"
-    swiftargs="-inloc="+inloc+" -a="+a+" -n="+n+"  -p="+p+"  -I="+I
+    swiftargs="-loc="+inloc+" -a="+a+" -n="+n+"  -pval="+p+"  -I="+I
     
     BASEDIR = os.path.dirname(os.path.realpath(__file__))
     
@@ -60,7 +60,7 @@
     #Invocation
     logfile="/home/ketan/std.err"
     with open(logfile,"wb") as errfile:
-        exitcode=subprocess.check_call([swift, "-sites.file", "sites.local.xml", "-tc.file", "apps", "-config", "cf", "dsp.blues.swift", swiftargs],stderr=errfile)
+        exitcode=subprocess.check_call([swift, "-sites.file", "/home/ketan/SwiftApps/dsp-swift/sites.local.xml", "-tc.file", "/home/ketan/SwiftApps/dsp-swift/apps", "-config", "/home/ketan/SwiftApps/dsp-swift/cf", "/home/ketan/SwiftApps/dsp-swift/dsp.blues.swift", swiftargs],stderr=errfile)
     print exitcode
 
     #Populate output file




More information about the Swift-commit mailing list