From cb8b218d904f432e3110f03b5cd7f4adcfa3ac01 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Thu, 7 Jan 2021 10:12:00 -0600
Subject: [PATCH] Move test inputBag export config to test-data

---
 .gitignore                                                     | 3 ++-
 .../conf => test_data}/Replicate_For_Input_Bag(test).json      | 0
 test_data/createTestData.sh                                    | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
 rename {workflow/conf => test_data}/Replicate_For_Input_Bag(test).json (100%)

diff --git a/.gitignore b/.gitignore
index 1228878..c154fe7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -281,6 +281,7 @@ $RECYCLE.BIN/
 # nextflow analysis folders/files
 /test_data/*
 !/test_data/createTestData.sh
+!/test_data/Replicate_For_Input_Bag(test).json
 /workflow/.nextflow/*
 /workflow/work/*
 /workflow/output/*
@@ -301,4 +302,4 @@ timeline*.html*
 *_studyRID.csv
 run*.sh
 
-!.gitkeep
+!.gitkeep
\ No newline at end of file
diff --git a/workflow/conf/Replicate_For_Input_Bag(test).json b/test_data/Replicate_For_Input_Bag(test).json
similarity index 100%
rename from workflow/conf/Replicate_For_Input_Bag(test).json
rename to test_data/Replicate_For_Input_Bag(test).json
diff --git a/test_data/createTestData.sh b/test_data/createTestData.sh
index 6ae47ec..8738c2e 100644
--- a/test_data/createTestData.sh
+++ b/test_data/createTestData.sh
@@ -12,7 +12,7 @@ mkdir -p NEW_test_data
 ln -sfn ./test_data/auth/credential.json ~/.deriva/credential.json
 
 mkdir -p ./NEW_test_data/bag
-singularity run 'docker://gudmaprbk/deriva1.3:1.0.0' deriva-download-cli staging.gudmap.org --catalog 2 '../workflow/conf/Replicate_For_Input_Bag(test).json' . rid=Q-Y5F6
+singularity run 'docker://gudmaprbk/deriva1.3:1.0.0' deriva-download-cli staging.gudmap.org --catalog 2 './Replicate_For_Input_Bag(test).json' . rid=Q-Y5F6
 cp Q-Y5F6_inputBag.zip ./NEW_test_data/bag/Q-Y5F6_inputBag_xxxxxxxx.zip
 singularity run 'docker://gudmaprbk/deriva1.3:1.0.0' deriva-download-cli staging.gudmap.org --catalog 2 ../workflow/conf/Replicate_For_Input_Bag.json . rid=Q-Y5F6
 
-- 
GitLab