From 9e193ef1e1b2ea6ba00f5282884c7a933223d609 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Fri, 18 Aug 2023 16:33:10 +0200 Subject: [PATCH] Consider multiple locations only with multiple=true --- lib/galaxy/tools/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/tools/test.py b/lib/galaxy/tools/test.py index f440e5ff3cd..ab3de3cf6ed 100644 --- a/lib/galaxy/tools/test.py +++ b/lib/galaxy/tools/test.py @@ -186,7 +186,7 @@ def _process_raw_inputs( if not value.type == "text": param_value = _split_if_str(param_value) if isinstance(value, galaxy.tools.parameters.basic.DataToolParameter): - if param_value is None and location: + if location and value.multiple: # We get the input/s from the location which can be a list of urls separated by commas locations = _split_if_str(location) param_value = []