From 43d41057be18b1eff4fef0543c3805f932e7a6f2 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Mon, 7 Jun 2021 15:26:48 +0200 Subject: [PATCH] Don't assert output_metadata state output_to_cwl_json is used for converting dataset collections into cwl_json when describing workflow outputs. xref https://github.com/galaxyproject/planemo/pull/1174 --- lib/galaxy/tool_util/cwl/util.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/galaxy/tool_util/cwl/util.py b/lib/galaxy/tool_util/cwl/util.py index 1dee9cc1ca5..1762f74f871 100644 --- a/lib/galaxy/tool_util/cwl/util.py +++ b/lib/galaxy/tool_util/cwl/util.py @@ -444,7 +444,6 @@ def output_to_cwl_json( return galaxy_output.history_content_id elif output_metadata["history_content_type"] == "dataset": ext = output_metadata["file_ext"] - assert output_metadata["state"] == "ok" if ext == "expression.json": dataset_dict = get_dataset(output_metadata) return dataset_dict_to_json_content(dataset_dict)