details: http://www.bx.psu.edu/hg/galaxy/rev/7120c4848270 changeset: 3549:7120c4848270 user: Dan Blankenberg <dan@bx.psu.edu> date: Mon Mar 22 11:06:40 2010 -0400 description: Make boxplot tool respect exit codes when determining job errors: makes e.g. 'Could not find/open font when opening font "arial", using internal non-scalable font' a non-fatal warning. Add version attribute to gnuplot requirement tag. diffstat: tools/plotting/boxplot.xml | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diffs (22 lines): diff -r ff39f033ce68 -r 7120c4848270 tools/plotting/boxplot.xml --- a/tools/plotting/boxplot.xml Fri Mar 19 15:09:13 2010 -0400 +++ b/tools/plotting/boxplot.xml Mon Mar 22 11:06:40 2010 -0400 @@ -1,8 +1,8 @@ <tool id="qual_stats_boxplot" name="Boxplot" version="1.0.0"> <description>of quality statistics</description> - <command>gnuplot < '$gnuplot_commands' > '$output_file'</command> + <command>gnuplot < '$gnuplot_commands' 2>&1 || echo "Error running gnuplot." >&2</command> <requirements> - <requirement type="binary">gnuplot</requirement> + <requirement type="binary" version="gnuplot 4.2 patchlevel 2">gnuplot</requirement> </requirements> <inputs> <param name="input_file" type="data" format="tabular" label="Quality Statistics File"/> @@ -30,6 +30,7 @@ </inputs> <configfiles> <configfile name="gnuplot_commands"> +set output '$output_file' set term png size ${graph_size} set boxwidth 0.8 set key right tmargin