[galaxy-commits] commit/galaxy-central: jgoecks: Clean up implementation in 303741fda0ec

Bitbucket commits-noreply at bitbucket.org
Mon Dec 19 15:01:01 EST 2011


1 new commit in galaxy-central:


https://bitbucket.org/galaxy/galaxy-central/changeset/166ea1ba55cb/
changeset:   166ea1ba55cb
user:        jgoecks
date:        2011-12-19 21:00:53
summary:     Clean up implementation in 303741fda0ec
affected #:  1 file

diff -r 303741fda0ec4ce0fc7b42a0334a6c84f44c7a1f -r 166ea1ba55cbfbf768ec833ced5a10d3712dc998 lib/galaxy/tools/__init__.py
--- a/lib/galaxy/tools/__init__.py
+++ b/lib/galaxy/tools/__init__.py
@@ -678,7 +678,7 @@
             output.count = int( data_elem.get("count", 1) )
             output.filters = data_elem.findall( 'filter' )
             output.from_work_dir = data_elem.get("from_work_dir", None)
-            output.hidden = data_elem.get("hidden", None) in [ 'true', 'True' ]
+            output.hidden = util.string_as_bool( data_elem.get("hidden", "") )
             output.tool = self
             output.actions = ToolOutputActionGroup( output, data_elem.find( 'actions' ) )
             self.outputs[ output.name ] = output

Repository URL: https://bitbucket.org/galaxy/galaxy-central/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the galaxy-commits mailing list