galaxyproject / planemo

Command-line utilities to assist in developing Galaxy and Common Workflow Language artifacts - including tools, workflows, and training materials.
https://planemo.readthedocs.io/
MIT License
89 stars 85 forks source link

Addition of metadata generation for planemo run #1434

Open Delphine-L opened 7 months ago

Delphine-L commented 7 months ago

Add the command --output_metadata FILE to planemo run. Generate a json file containing the workflow ID, invocation ID, and history ID created by the 'run' command.

bernt-matthias commented 7 months ago

Would it be possible to add a test? Maybe here: https://github.com/galaxyproject/planemo/blob/5a0eb3185a02f71f6312b680b67e8bf0deae7b8d/tests/test_run.py

simonbray commented 7 months ago

I think either --test_output_json or --output_json should provide this information already.

Delphine-L commented 5 months ago

I think either --test_output_json or --output_json should provide this information already.

You're right. The info is in --test_output_json. Thank you !