Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Record implicitly converted dataset as input dataset
Browse files Browse the repository at this point in the history
I believe this was always the intention and is how it works if the
dataset already exists (i.e. on a re-run). The converter records the
dataset that the user chose, so there's no gap in the provenance either.

This somewhat addresses
galaxyproject/total-perspective-vortex#141
so you can (reliably) differetiate your rules on the input datatype
and filesize combination.
mvdbeek committed Dec 10, 2024

Verified

This commit was signed with the committer’s verified signature.
mvdbeek Marius van den Beek
1 parent 616fe39 commit 0d9a30f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/galaxy/tools/actions/__init__.py
Original file line number Diff line number Diff line change
@@ -139,7 +139,9 @@ def process_dataset(data, formats=None):
if converted_dataset:
data = converted_dataset
else:
data = data.get_converted_dataset(trans, target_ext, target_context=parent, history=history)
data = data.get_converted_dataset(
trans, target_ext, target_context=parent, history=history, return_output=True
)

input_name = prefixed_name
# Checked security of whole collection all at once if mapping over this input, else

0 comments on commit 0d9a30f

Please sign in to comment.