# HG changeset patch # User hackdna # Date 1368220061 14400 # Node ID f725e3820fb4c0a5ed676674fb9f59bad6a47353 # Parent fb14f26733e1d838ede4059f608931bf80398a8a Add 2-1 and 2-2 tools. Code cleanup. diff -r fb14f26733e1 -r f725e3820fb4 refinery_test_1-1.xml --- a/refinery_test_1-1.xml Thu May 09 00:48:11 2013 -0400 +++ b/refinery_test_1-1.xml Fri May 10 17:07:41 2013 -0400 @@ -15,7 +15,7 @@ - + diff -r fb14f26733e1 -r f725e3820fb4 refinery_test_1-2.xml --- a/refinery_test_1-2.xml Thu May 09 00:48:11 2013 -0400 +++ b/refinery_test_1-2.xml Fri May 10 17:07:41 2013 -0400 @@ -15,8 +15,8 @@ - - + + diff -r fb14f26733e1 -r f725e3820fb4 refinery_test_2-1.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/refinery_test_2-1.xml Fri May 10 17:07:41 2013 -0400 @@ -0,0 +1,49 @@ + + for testing Galaxy workflow execution from Refinery + + + refinery_test_tool.py -i $input_file1 $input_file2 -o $output_file -e $exit_code -p $p_fail -s $sleep_time $stdout $stderr + + + + + + + + + + + + + + + + + + + + + + + + +.. class:: infomark + +**Purpose** + +To test Galaxy workflow execution and monitoring from Refinery. + +----- + +.. class:: infomark + +**Inputs and outputs** + +This wrapper will accept two text files as input and produce a single output file +with concatenated content from input files. + +*Note:* You must set the "Probability of failure" parameter to a non-zero value +for "Write to standard out", "Write to standard error" or "Exit code" to take effect. + + + diff -r fb14f26733e1 -r f725e3820fb4 refinery_test_2-2.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/refinery_test_2-2.xml Fri May 10 17:07:41 2013 -0400 @@ -0,0 +1,50 @@ + + for testing Galaxy workflow execution from Refinery + + + refinery_test_tool.py -i $input_file1 $input_file2 -o $output_file1 $output_file2 -e $exit_code -p $p_fail -s $sleep_time $stdout $stderr + + + + + + + + + + + + + + + + + + + + + + + + + +.. class:: infomark + +**Purpose** + +To test Galaxy workflow execution and monitoring from Refinery. + +----- + +.. class:: infomark + +**Inputs and outputs** + +This wrapper will accept two text files as input and produce a single output file +with concatenated content from input files. + +*Note:* You must set the "Probability of failure" parameter to a non-zero value +for "Write to standard out", "Write to standard error" or "Exit code" to take effect. + + + diff -r fb14f26733e1 -r f725e3820fb4 refinery_test_tool.py --- a/refinery_test_tool.py Thu May 09 00:48:11 2013 -0400 +++ b/refinery_test_tool.py Fri May 10 17:07:41 2013 -0400 @@ -29,7 +29,7 @@ input = read_files(args.input_files) try: for out_file in args.output_files: - out_file.write('\n' + "Output file name: " + out_file.name + '\n') + out_file.write("Output file name: " + out_file.name + '\n\n') out_file.write(input) except IOError as e: cleanup(args)