
details: http://www.bx.psu.edu/hg/galaxy/rev/789741370e80 changeset: 2522:789741370e80 user: guru date: Mon Aug 03 16:38:27 2009 -0400 description: Fix bar chart output format. 2 file(s) affected in this change: tools/plotting/bar_chart.py tools/plotting/bar_chart.xml diffs (22 lines): diff -r a961e11898af -r 789741370e80 tools/plotting/bar_chart.py --- a/tools/plotting/bar_chart.py Mon Aug 03 16:23:37 2009 -0400 +++ b/tools/plotting/bar_chart.py Mon Aug 03 16:38:27 2009 -0400 @@ -140,5 +140,6 @@ # The tempfile initialization is here because while inside the main() it seems to create a condition # when the file is removed before gnuplot has a chance of accessing it gp_data_file = tempfile.NamedTemporaryFile('w') + Gnuplot.gp.GnuplotOpts.default_term = 'png' main(gp_data_file.name) diff -r a961e11898af -r 789741370e80 tools/plotting/bar_chart.xml --- a/tools/plotting/bar_chart.xml Mon Aug 03 16:23:37 2009 -0400 +++ b/tools/plotting/bar_chart.xml Mon Aug 03 16:38:27 2009 -0400 @@ -33,7 +33,7 @@ </param> </inputs> <outputs> - <data format="pdf" name="out_file1" /> + <data format="png" name="out_file1" /> </outputs> <requirements> <requirement type="python-module">Gnuplot</requirement>