Skip to content

Commit de0bb0b

Browse files
authored
Merge pull request #893 from galaxyproject/skip_workflow_outs
skip workflow outputs that do not have a `label` set
2 parents d86732d + 8b57c4d commit de0bb0b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

planemo/galaxy/activity.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,9 @@ def get_dataset(dataset_details, filename=None):
365365
ctx.vlog("collecting outputs to directory %s" % output_directory)
366366
for runnable_output in get_outputs(self._runnable):
367367
output_id = runnable_output.get_id()
368+
if not output_id:
369+
ctx.vlog("Workflow output identified without an ID (label), skipping")
370+
continue
368371
output_dict_value = None
369372
if self._runnable.type in [RunnableType.cwl_workflow, RunnableType.cwl_tool]:
370373
galaxy_output = self.to_galaxy_output(runnable_output)

0 commit comments

Comments
 (0)