mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Don't build tool state for first param combination
It'll always pull in the first dataset in the `other_values` dict, which isn'r correct. Tool parameters at this point know how to deal with collections, so this shouldn't be neceesary.
This commit is contained in:
@@ -2437,12 +2437,6 @@ class Tool(Dictifiable):
|
||||
# create parameter object
|
||||
params = Params(kwd, sanitize=False)
|
||||
|
||||
# expand incoming parameters (parameters might trigger multiple tool executions,
|
||||
# here we select the first execution only in order to resolve dynamic parameters)
|
||||
expanded_incomings, _ = expand_meta_parameters(trans, self, params.__dict__)
|
||||
if expanded_incomings:
|
||||
params.__dict__ = expanded_incomings[0]
|
||||
|
||||
# do param translation here, used by datasource tools
|
||||
if self.input_translator:
|
||||
self.input_translator.translate(params)
|
||||
|
||||
Reference in New Issue
Block a user