[hg] galaxy 1563: Fix for unit test for DataTool Parameter
details: http://www.bx.psu.edu/hg/galaxy/rev/98867708d5ae changeset: 1563:98867708d5ae user: Dan Blankenberg <dan@bx.psu.edu> date: Mon Oct 20 14:16:38 2008 -0400 description: Fix for unit test for DataTool Parameter 1 file(s) affected in this change: lib/galaxy/tools/parameters/basic.py diffs (12 lines): diff -r 26ae03082033 -r 98867708d5ae lib/galaxy/tools/parameters/basic.py --- a/lib/galaxy/tools/parameters/basic.py Mon Oct 20 12:44:33 2008 -0400 +++ b/lib/galaxy/tools/parameters/basic.py Mon Oct 20 14:16:38 2008 -0400 @@ -1181,7 +1181,7 @@ return [] def converter_safe( self, other_values, trans ): - if self.tool.has_multiple_pages or not hasattr( trans, 'workflow_building_mode' ) or trans.workflow_building_mode: + if not hasattr( trans, 'has_multiple_pages' ) or self.tool.has_multiple_pages or not hasattr( trans, 'workflow_building_mode' ) or trans.workflow_building_mode: return False if other_values is None: return True # we don't know other values, so we can't check, assume ok
participants (1)
-
Nate Coraor