From f4ae40195ebd1fcfe0568236ce1ba00dbae0f3c1 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 22 May 2025 22:54:07 +0200 Subject: add workflow diagrams --- workflow/phases.cwl | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100755 workflow/phases.cwl (limited to 'workflow/phases.cwl') diff --git a/workflow/phases.cwl b/workflow/phases.cwl new file mode 100755 index 0000000..95df658 --- /dev/null +++ b/workflow/phases.cwl @@ -0,0 +1,47 @@ +#!/usr/bin/env cwl-runner + +cwlVersion: v1.0 +class: Workflow +$namespaces: + dc: http://purl.org/dc/elements/1.1/ + license: https://spdx.org/licenses/ + +inputs: + annotated_markdown: File + +outputs: + annotated_html: + type: File + outputSource: convert/html_with_rdfa + annotated_pdf: + type: File + outputSource: convert/latex_with_xmp + markdown_with_metadata: + type: File + outputSource: extract/markdown + plain_markdown: + type: File + outputSource: strip/markdown + +steps: + convert: + in: + input_file: annotated_markdown + run: pandoc-filter-tool.cwl + out: + - html_with_rdfa + - latex_with_xmp + extract: + in: + input_file: annotated_markdown + run: pandoc-filter-tool.cwl + out: + - markdown + strip: + in: + input_file: annotated_markdown + run: pandoc-filter-tool.cwl + out: + - markdown +dc:license: license:GPL-3.0-or-later +dc:rights: Copyright 2025, Jonas Smedegaard -- cgit v1.2.3