From 82e9ce827c9c76b242e52747b7d2d1a546e683a6 Mon Sep 17 00:00:00 2001 From: guerler Date: Wed, 13 Apr 2016 14:55:30 -0400 Subject: [PATCH 1/2] Add tool parameters back to parameters --- lib/galaxy/tools/parameters/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/galaxy/tools/parameters/__init__.py b/lib/galaxy/tools/parameters/__init__.py index a2d0a407595..216a2ddbd0c 100644 --- a/lib/galaxy/tools/parameters/__init__.py +++ b/lib/galaxy/tools/parameters/__init__.py @@ -4,13 +4,15 @@ Classes encapsulating Galaxy tool parameters. import re from json import dumps, loads -from basic import RuntimeValue +from basic import RuntimeValue, DataCollectionToolParameter, DataToolParameter, SelectToolParameter from grouping import Conditional, Repeat, Section, UploadDataset from galaxy.util.expressions import ExpressionContext from galaxy.util.json import json_fix REPLACE_ON_TRUTHY = object() +# Some tools use the code tag and access the code base, expecting certain tool parameters to be available here. +__all__ = [ DataCollectionToolParameter, DataToolParameter, SelectToolParameter ] def visit_input_values( inputs, input_values, callback, name_prefix='', label_prefix='', parent_prefix='', context=None, no_replacement_value=REPLACE_ON_TRUTHY ): """ From ac141397148c0698a06d7d8d2088d94d00961915 Mon Sep 17 00:00:00 2001 From: guerler Date: Wed, 13 Apr 2016 15:50:44 -0400 Subject: [PATCH 2/2] Add blank line --- lib/galaxy/tools/parameters/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/galaxy/tools/parameters/__init__.py b/lib/galaxy/tools/parameters/__init__.py index 216a2ddbd0c..54d6ee858a6 100644 --- a/lib/galaxy/tools/parameters/__init__.py +++ b/lib/galaxy/tools/parameters/__init__.py @@ -14,6 +14,7 @@ REPLACE_ON_TRUTHY = object() # Some tools use the code tag and access the code base, expecting certain tool parameters to be available here. __all__ = [ DataCollectionToolParameter, DataToolParameter, SelectToolParameter ] + def visit_input_values( inputs, input_values, callback, name_prefix='', label_prefix='', parent_prefix='', context=None, no_replacement_value=REPLACE_ON_TRUTHY ): """ Given a tools parameter definition (`inputs`) and a specific set of