Skip to content

Create more useful output for failed invocations#1174

Merged
mvdbeek merged 1 commit intogalaxyproject:masterfrom
mvdbeek:improve_invocation_failure_reporting
Jun 7, 2021
Merged

Create more useful output for failed invocations#1174
mvdbeek merged 1 commit intogalaxyproject:masterfrom
mvdbeek:improve_invocation_failure_reporting

Conversation

@mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Jun 7, 2021

This should make debugging invocations with failed steps much easier. The core of the change is the try/except AssertionError, which is raised when the step that produces a dataset collection is in error (https://github.com/galaxyproject/galaxy/blob/release_21.01//lib/galaxy/tool_util/cwl/util.py#L447). I'll also remove that on the Galaxy side. Without this change no useful output is produced except that the test failed. With the change we get the regular test structure written out.

mvdbeek added a commit to mvdbeek/galaxy that referenced this pull request Jun 7, 2021
output_to_cwl_json is used for converting dataset collections into
cwl_json when describing workflow outputs. xref galaxyproject/planemo#1174
@mvdbeek mvdbeek requested a review from jmchilton June 7, 2021 13:48
"engine": "galaxy",
"no_dependency_resolution": True,
"paste_test_data_paths": False,
"extra_tools": ['$GALAXY_FUNCTIONAL_TEST_TOOLS'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this, thanks so much!

@mvdbeek mvdbeek merged commit e5a85cc into galaxyproject:master Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants