From 34e226b9c885a91c6237ae193dd9251daf38828a Mon Sep 17 00:00:00 2001 From: Matthew Defenderfer <mdefende@uab.edu> Date: Thu, 6 Mar 2025 14:48:30 -0600 Subject: [PATCH] add debug --- template/script.sh.erb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/template/script.sh.erb b/template/script.sh.erb index 95bd0ed..297ba8b 100755 --- a/template/script.sh.erb +++ b/template/script.sh.erb @@ -3,8 +3,6 @@ # Set working directory to home directory cd "${HOME}" -module reset - # # Launch Xfce Window Manager and Panel # @@ -37,9 +35,14 @@ module load Anaconda3 # List loaded modules module list +# Debug Statements +echo "Display: ${DISPLAY}" + # Launch PyCharm set -x -singularity exec --env "DISPLAY:$DISPLAY" -B "/tmp/.X11-unix:/tmp/.X11-unix" \ +cmd="singularity exec --env \"DISPLAY:$DISPLAY\" -B \"/tmp/.X11-unix:/tmp/.X11-unix\" \ <%= context.extra_singularity_args %> \ <%= context.container_path %> \ - pycharm + pycharm" + +echo ${cmd} -- GitLab