-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18456 from arash77/subworkflows_tags_fix
[24.0] Fix subwofklow tags serialization type
- Loading branch information
Showing
3 changed files
with
144 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
134 changes: 134 additions & 0 deletions
134
lib/galaxy_test/base/data/test_subworkflow_with_tags.ga
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
{ | ||
"a_galaxy_workflow": "true", | ||
"annotation": "Test main ", | ||
"comments": [], | ||
"format-version": "0.1", | ||
"name": "Unnamed Workflow", | ||
"report": { | ||
"markdown": "\n# Workflow Execution Report\n\n## Workflow Inputs\n```galaxy\ninvocation_inputs()\n```\n\n## Workflow Outputs\n```galaxy\ninvocation_outputs()\n```\n\n## Workflow\n```galaxy\nworkflow_display()\n```\n" | ||
}, | ||
"steps": { | ||
"0": { | ||
"annotation": "", | ||
"content_id": null, | ||
"errors": null, | ||
"id": 0, | ||
"input_connections": {}, | ||
"inputs": [], | ||
"label": null, | ||
"name": "Input dataset", | ||
"outputs": [], | ||
"position": { | ||
"left": 0, | ||
"top": 0 | ||
}, | ||
"tool_id": null, | ||
"tool_state": "{\"optional\": false, \"tag\": null}", | ||
"tool_version": null, | ||
"type": "data_input", | ||
"uuid": "967583e9-d2a6-444a-ba31-6fb749d03f9e", | ||
"when": null, | ||
"workflow_outputs": [] | ||
}, | ||
"1": { | ||
"annotation": "", | ||
"id": 1, | ||
"input_connections": { | ||
"0:Input dataset": { | ||
"id": 0, | ||
"input_subworkflow_step_id": 0, | ||
"output_name": "output" | ||
} | ||
}, | ||
"inputs": [], | ||
"label": null, | ||
"name": "Workflow with tags", | ||
"outputs": [], | ||
"position": { | ||
"left": 249, | ||
"top": 51 | ||
}, | ||
"subworkflow": { | ||
"a_galaxy_workflow": "true", | ||
"annotation": "", | ||
"comments": [], | ||
"format-version": "0.1", | ||
"name": "Workflow with tags", | ||
"report": { | ||
"markdown": "\n# Workflow Execution Report\n\n## Workflow Inputs\n```galaxy\ninvocation_inputs()\n```\n\n## Workflow Outputs\n```galaxy\ninvocation_outputs()\n```\n\n## Workflow\n```galaxy\nworkflow_display()\n```\n" | ||
}, | ||
"steps": { | ||
"0": { | ||
"annotation": "", | ||
"content_id": null, | ||
"errors": null, | ||
"id": 0, | ||
"input_connections": {}, | ||
"inputs": [], | ||
"label": null, | ||
"name": "Input dataset", | ||
"outputs": [], | ||
"position": { | ||
"left": 0, | ||
"top": 0.0 | ||
}, | ||
"tool_id": null, | ||
"tool_state": "{\"optional\": false, \"tag\": null}", | ||
"tool_version": null, | ||
"type": "data_input", | ||
"uuid": "eca9b088-ff50-4253-8387-01512f03ff2f", | ||
"when": null, | ||
"workflow_outputs": [] | ||
}, | ||
"1": { | ||
"annotation": "", | ||
"content_id": "addValue", | ||
"errors": null, | ||
"id": 1, | ||
"input_connections": { | ||
"input": { | ||
"id": 0, | ||
"output_name": "output" | ||
} | ||
}, | ||
"inputs": [ | ||
{ | ||
"description": "runtime parameter for tool Add column", | ||
"name": "input" | ||
} | ||
], | ||
"label": null, | ||
"name": "Add column", | ||
"outputs": [ | ||
{ | ||
"name": "out_file1", | ||
"type": "input" | ||
} | ||
], | ||
"position": { | ||
"left": 123, | ||
"top": 112.0 | ||
}, | ||
"post_job_actions": {}, | ||
"tool_id": "addValue", | ||
"tool_state": "{\"exp\": \"1\", \"input\": {\"__class__\": \"RuntimeValue\"}, \"iterate\": \"no\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", | ||
"tool_version": "1.0.0", | ||
"type": "tool", | ||
"uuid": "7016e754-149b-402a-bb17-eb6cd4b1ab0a", | ||
"when": null, | ||
"workflow_outputs": [] | ||
} | ||
}, | ||
"uuid": "c33370a9-188f-4af8-bfcc-137c577c79ba" | ||
}, | ||
"tool_id": null, | ||
"type": "subworkflow", | ||
"uuid": "90bdcd13-418a-49da-847e-02926942bf4b", | ||
"when": null, | ||
"workflow_outputs": [] | ||
} | ||
}, | ||
"tags": [], | ||
"uuid": "64d7fac3-6402-412b-9db6-490ffc18e129", | ||
"version": 1 | ||
} |