commit/galaxy-central: jmchilton: Fix bug preventing use of data tools inside of conditionals via API.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/1e7fd56c683c/ Changeset: 1e7fd56c683c User: jmchilton Date: 2013-11-12 18:56:54 Summary: Fix bug preventing use of data tools inside of conditionals via API. Affected #: 1 file diff -r b419cadc12831a2071912d40d1d10413801bf64c -r 1e7fd56c683c9d59784d62e642b1d430edf7e989 lib/galaxy/tools/parameters/grouping.py --- a/lib/galaxy/tools/parameters/grouping.py +++ b/lib/galaxy/tools/parameters/grouping.py @@ -493,7 +493,7 @@ rval = {} # Get the default value for the 'test element' and use it # to determine the current case - test_value = self.test_param.get_initial_value( trans, context, history=None ) + test_value = self.test_param.get_initial_value( trans, context, history=history ) current_case = self.get_current_case( test_value, trans ) # Store the current case in a special value rval['__current_case__'] = current_case @@ -502,7 +502,7 @@ # Fill in state for selected case child_context = ExpressionContext( rval, context ) for child_input in self.cases[current_case].inputs.itervalues(): - rval[ child_input.name ] = child_input.get_initial_value( trans, child_context, history=None ) + rval[ child_input.name ] = child_input.get_initial_value( trans, child_context, history=history ) return rval class ConditionalWhen( object ): 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.
participants (1)
-
commits-noreply@bitbucket.org