From c54d4a87514e25286feed4b12b60e55271e9da52 Mon Sep 17 00:00:00 2001
From: Dominik Brilhaus <brilhaus@nfdi4plants.org>
Date: Fri, 2 Aug 2024 14:28:00 +0200
Subject: [PATCH] hard code file name slicing works

---
 workflows/kallisto/kallisto-workflow.cwl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/workflows/kallisto/kallisto-workflow.cwl b/workflows/kallisto/kallisto-workflow.cwl
index c0e074e..0cf46eb 100644
--- a/workflows/kallisto/kallisto-workflow.cwl
+++ b/workflows/kallisto/kallisto-workflow.cwl
@@ -39,7 +39,7 @@ steps:
       InputReads: InputReadsMultipleSamples
       QuantOutfolder:
         source: InputReadsMultipleSamples
-        valueFrom: $(self[0].nameroot)
+        valueFrom: $(self[0].nameroot.substring(0,6))
       Index: index/index
       isSingle: isSingle
       FragmentLength: FragmentLength 
-- 
GitLab