From aa6028be4fa143ea7e1b9f5c7e1b1b9879fe2a7c Mon Sep 17 00:00:00 2001
From: not populated not populated <ameynert@sdf-cs1.eidf.epcc.ed.ac.uk>
Date: Fri, 1 Oct 2021 11:34:45 +0100
Subject: [PATCH] Make results params directory

---
 prepare_bcbio_config.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/prepare_bcbio_config.sh b/prepare_bcbio_config.sh
index 60a458e..e42b5e6 100755
--- a/prepare_bcbio_config.sh
+++ b/prepare_bcbio_config.sh
@@ -116,6 +116,8 @@ do
   perl -i -pe "s/${COMPRESSED_ID}/${FAMILY_ID}/" $CONFIG_DIR/${PREFIX}.yaml
 
   rm -r ${PREFIX}
+
+  mkdir -p ${OUTPUT_DIR}/${SHORT_PROJECT_ID}_${VERSION}/params/
   mv ${PREFIX}.csv ${OUTPUT_DIR}/${SHORT_PROJECT_ID}_${VERSION}/params/
   mv ${PROJECT_ID}_${FAMILY_ID}.ped ${OUTPUT_DIR}/${SHORT_PROJECT_ID}_${VERSION}/params/
 
-- 
GitLab