[Swift-commit] r7525 - SwiftApps/swift-galaxy/swift
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Wed Jan 29 16:39:39 CST 2014
Author: ketan
Date: 2014-01-29 16:39:39 -0600 (Wed, 29 Jan 2014)
New Revision: 7525
Modified:
SwiftApps/swift-galaxy/swift/swiftforeachlist.sh
SwiftApps/swift-galaxy/swift/swiftforeachlist.xml
SwiftApps/swift-galaxy/swift/swiftforeachrange.sh
SwiftApps/swift-galaxy/swift/swiftforeachrange.xml
Log:
_
Modified: SwiftApps/swift-galaxy/swift/swiftforeachlist.sh
===================================================================
--- SwiftApps/swift-galaxy/swift/swiftforeachlist.sh 2014-01-29 16:55:20 UTC (rev 7524)
+++ SwiftApps/swift-galaxy/swift/swiftforeachlist.sh 2014-01-29 22:39:39 UTC (rev 7525)
@@ -24,13 +24,13 @@
sh @_exec _arg stdout=@_out stderr=@_err;
}
-file out[];
-file err[];
file exec<"$executable">;
file listfile<"$listfile">;
string list[] = readData(listfile);
foreach l, i in list{
- (out[i],err[i]) = anapp(exec, l);
+ file out <single_file_mapper; file=@strcat("$HOME/swift-sandbox/", l, ".", i, ".out")>;
+ file err <single_file_mapper; file=@strcat("$HOME/swift-sandbox/", l, ".", i, ".err")>;
+ (out,err) = anapp(exec, l);
}
EOF
Modified: SwiftApps/swift-galaxy/swift/swiftforeachlist.xml
===================================================================
--- SwiftApps/swift-galaxy/swift/swiftforeachlist.xml 2014-01-29 16:55:20 UTC (rev 7524)
+++ SwiftApps/swift-galaxy/swift/swiftforeachlist.xml 2014-01-29 22:39:39 UTC (rev 7525)
@@ -43,9 +43,11 @@
</when>
</conditional>
</inputs>
+
<outputs>
<data format="txt" name="log_file" type="data" label="Swift output" />
</outputs>
+
<help>
.. class:: warningmark
Modified: SwiftApps/swift-galaxy/swift/swiftforeachrange.sh
===================================================================
--- SwiftApps/swift-galaxy/swift/swiftforeachrange.sh 2014-01-29 16:55:20 UTC (rev 7524)
+++ SwiftApps/swift-galaxy/swift/swiftforeachrange.sh 2014-01-29 22:39:39 UTC (rev 7525)
@@ -28,11 +28,11 @@
sh @_exec _i stdout=@_out stderr=@_err;
}
-file out[];
-file err[];
file exec<"$executable">;
foreach i in [$rstart:$rend:$stepsize]{
- (out[i],err[i]) = anapp(exec, i);
+ file out <single_file_mapper; file=@strcat("$HOME/swift-sandbox/", i, ".out")>;
+ file err <single_file_mapper; file=@strcat("$HOME/swift-sandbox/", i, ".err")>;
+ (out,err) = anapp(exec, i);
}
EOF
Modified: SwiftApps/swift-galaxy/swift/swiftforeachrange.xml
===================================================================
--- SwiftApps/swift-galaxy/swift/swiftforeachrange.xml 2014-01-29 16:55:20 UTC (rev 7524)
+++ SwiftApps/swift-galaxy/swift/swiftforeachrange.xml 2014-01-29 22:39:39 UTC (rev 7525)
@@ -19,7 +19,7 @@
<option value="stampede">Stampede</option>
</param>
- <param format="data" name="executable" type="data" label="Executable"/>
+ <param format="sh" name="executable" type="data" label="Executable"/>
<param name="rstart" size="2" type="integer" value="0" label="start"/>
<param name="rend" size="2" type="integer" value="9" label="end"/>
More information about the Swift-commit
mailing list