commit/galaxy-central: guerler: Workflow: Disable new tool form
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/bc4403d1f81b/ Changeset: bc4403d1f81b User: guerler Date: 2015-01-28 18:51:51+00:00 Summary: Workflow: Disable new tool form Affected #: 1 file diff -r f0a96002a5538b1b5e2ebafe8f80a64ed299b418 -r bc4403d1f81b560c8e0685eb1093b83ff6b348e4 lib/galaxy/webapps/galaxy/controllers/workflow.py --- a/lib/galaxy/webapps/galaxy/controllers/workflow.py +++ b/lib/galaxy/webapps/galaxy/controllers/workflow.py @@ -618,18 +618,12 @@ 'tool_state': tool_state } ) - # create tool model and default tool state (if missing) - tool_model = None - if not tool_state: - tool_model = module.tool.to_json(trans, **incoming) - module.state.inputs = copy.deepcopy(tool_model['state_inputs']) - # update module state module.update_state( incoming ) if type == 'tool': return { - 'tool_model': tool_model, + 'tool_model': None, 'tool_state': module.get_state(), 'data_inputs': module.get_data_inputs(), 'data_outputs': module.get_data_outputs(), @@ -664,7 +658,7 @@ 'name': module.get_name(), 'tool_id': module.get_tool_id(), 'tool_state': module.get_state(), - 'tool_model': module.tool.to_json(trans), + 'tool_model': None, 'tooltip': module.get_tooltip( static_path=url_for( '/static' ) ), 'data_inputs': module.get_data_inputs(), 'data_outputs': module.get_data_outputs(), 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