[Swift-commit] r4297 - SwiftApps/modFTdock
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Wed Apr 6 16:02:19 CDT 2011
Author: ketan
Date: 2011-04-06 16:02:14 -0500 (Wed, 06 Apr 2011)
New Revision: 4297
Modified:
SwiftApps/modFTdock/ftdock.swift
Log:
options to put input and output folders from commandline
Modified: SwiftApps/modFTdock/ftdock.swift
===================================================================
--- SwiftApps/modFTdock/ftdock.swift 2011-04-06 20:50:53 UTC (rev 4296)
+++ SwiftApps/modFTdock/ftdock.swift 2011-04-06 21:02:14 UTC (rev 4297)
@@ -26,14 +26,14 @@
{
trace( str_root );
- string str_file_static = @strcat( "input/", str_root, ".pdb" );
+ string str_file_static = @strcat( @arg("in", "input/"), str_root, ".pdb" );
string str_file_mobile = "input/4TRA.pdb";
file_pdb file_static < single_file_mapper; file = str_file_static >;
file_pdb file_mobile < single_file_mapper; file = str_file_mobile >;
file_dat dat_files[] < simple_mapper;
padding = 3,
- location = "output",
+ location = @arg("out", "output"),
prefix = @strcat( str_root, "_" ),
suffix = ".dat" >;
More information about the Swift-commit
mailing list