diff --git a/compress_pipeline.cwl b/compress_pipeline.cwl index fcd6f49a0c1b30ef7d3b660e0db115bb8ef600f8..e76a0a3ca9bc4f537ccc978efc2a2e6d4c07288d 100644 --- a/compress_pipeline.cwl +++ b/compress_pipeline.cwl @@ -119,6 +119,9 @@ steps: source: extract_sip_meta/ingest - id: output_name default: compressed + - id: file_name + source: compress/compressed + valueFrom: $(self.basename) out: - id: ingest run: steps/format_ingest.cwl diff --git a/steps/format_ingest.cwl b/steps/format_ingest.cwl index 073e6e8e0c7ff6328f10e3e8da7c93ea33cce78a..51cbbac575fc4fd7d262635576042d639f66f708 100644 --- a/steps/format_ingest.cwl +++ b/steps/format_ingest.cwl @@ -6,7 +6,8 @@ inputs: - id: output_name type: string - + - id: file_name + type: string outputs: - id: ingest type: Any @@ -16,6 +17,7 @@ expression: | ${ return { "ingest": { "path": inputs.output_name, + "file_name": inputs.file_name, "metadata": inputs.metadata } }