From b2a4be9e41b97a689884f650ec38c623c15486dd Mon Sep 17 00:00:00 2001
From: Whitney Armstrong <warmstrong@anl.gov>
Date: Wed, 11 Nov 2020 00:00:15 -0600
Subject: [PATCH] 	modified:   scripts/run_generator_instance.sh

---
 dvmp/scripts/run_generator_instance.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dvmp/scripts/run_generator_instance.sh b/dvmp/scripts/run_generator_instance.sh
index bb6c28b4..2564299b 100755
--- a/dvmp/scripts/run_generator_instance.sh
+++ b/dvmp/scripts/run_generator_instance.sh
@@ -111,9 +111,12 @@ echo "Running the generator"
 lager -r ${RNG_SEED} -c ${FNAME}.json -e ${NEVENTS} -o .
 
 ls -lrth 
+popd
+
+
 ## Finally, move relevant output into the artifacts directory
 echo "Moving generator output into ${DATA_PATH}"
 mkdir -p ${DATA_PATH}
-for ext in hepmc json log root; do
-  mv *.${FNAME}.*.${ext} ${DATA_PATH}/${FNAME}.${ext}
+for ext in hepmc json log root ; do
+  mv dvmp/*.${FNAME}.*.${ext} ${DATA_PATH}/${FNAME}.${ext}
 done
-- 
GitLab