mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
fix
This commit is contained in:
@@ -941,8 +941,12 @@ class DefaultToolAction(ToolAction):
|
||||
|
||||
for input_name in inp_data:
|
||||
data = inp_data[input_name]
|
||||
# Skip collection inputs and any suffixed dataset names derived from them (e.g., "datasets1", "datasets2")
|
||||
if input_name in inp_dataset_collections:
|
||||
continue
|
||||
# Also skip if the name starts with a collection input key and the remainder is a numeric suffix
|
||||
if any(input_name.startswith(key) and input_name[len(key) :].isdigit() for key in inp_dataset_collections):
|
||||
continue
|
||||
if getattr(data, "hid", None):
|
||||
input_hids.append(data.hid)
|
||||
return on_text_for_dataset_and_collections(dataset_hids=input_hids, collection_hids=collection_hids)
|
||||
|
||||
Reference in New Issue
Block a user