1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/b1f28d8e2f39/ Changeset: b1f28d8e2f39 User: guerler Date: 2014-12-12 20:49:33+00:00 Summary: Tools: Fix for missing conditional parameter in classic tool form Affected #: 1 file diff -r efd0286e7629289c4c583898ebecb32646834c64 -r b1f28d8e2f39990d3a8668e0165797e2ecf3d8cf lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -2711,7 +2711,13 @@ self.check_and_update_param_values_helper( input.inputs, d, trans, messages, context, rep_prefix, allow_workflow_parameters=allow_workflow_parameters ) elif isinstance( input, Conditional ): group_values = values[ input.name ] - if input.test_param.name not in group_values: + use_initial_value = False + if '__current_case__' in group_values: + if int( group_values['__current_case__'] ) >= len( input.cases ): + use_initial_value = True + else: + use_initial_value = True + if input.test_param.name not in group_values or use_initial_value: # No test param invalidates the whole conditional values[ input.name ] = group_values = input.get_initial_value( trans, context ) messages[ input.test_param.name ] = "No value found for '%s%s', used default" % ( prefix, input.test_param.label ) 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.