We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b68fe7 + 1d22df5 commit ffba66aCopy full SHA for ffba66a
planemo/galaxy/activity.py
@@ -459,7 +459,10 @@ def collect_outputs(
459
# TODO: rather than creating a directory just use
460
# Galaxy paths if they are available in this
461
# configuration.
462
- output_directory = output_directory or tempfile.mkdtemp()
+ if output_directory:
463
+ os.makedirs(output_directory, exist_ok=True)
464
+ else:
465
+ output_directory = tempfile.mkdtemp()
466
467
self._ctx.log("collecting outputs to directory %s" % output_directory)
468
0 commit comments