From f0ae3075ce90b9519896f8a3e915c8fa61387a57 Mon Sep 17 00:00:00 2001
From: Matthew Defenderfer <mdefende@uab.edu>
Date: Thu, 6 Mar 2025 14:39:52 -0600
Subject: [PATCH] changes

---
 manifest.yml           | 2 +-
 submit.yml.erb         | 7 +------
 template/script.sh.erb | 1 +
 3 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/manifest.yml b/manifest.yml
index 555aa3b..8644cdd 100644
--- a/manifest.yml
+++ b/manifest.yml
@@ -1,7 +1,7 @@
 ---
 name: PyCharmCE
 category: Interactive Apps
-subcategory: Servers
+subcategory: GUIs
 role: batch_connect
 description: |
   This app will launch the PyCharm IDE
\ No newline at end of file
diff --git a/submit.yml.erb b/submit.yml.erb
index caeb57b..746f73d 100644
--- a/submit.yml.erb
+++ b/submit.yml.erb
@@ -6,14 +6,9 @@
     email = email + '@uab.edu'
   end
 -%>
----
-# This config comes from below URL
-# https://github.com/OSC/bc_example_jupyter/blob/custom_environment/submit.yml.erb
-# The -C option in the config provided for slurm has been removed because it does
-# not apply to implementation at UAB. We do not use constraint list to be used with -C.
 
 batch_connect:
-  template: "basic"
+  template: "vnc"
 
 script:
   job_environment:
diff --git a/template/script.sh.erb b/template/script.sh.erb
index 8c2016f..0fa678c 100755
--- a/template/script.sh.erb
+++ b/template/script.sh.erb
@@ -14,6 +14,7 @@ module reset
   export XDG_CONFIG_HOME="<%= session.staged_root.join("config") %>"
   export XDG_DATA_HOME="<%= session.staged_root.join("share") %>"
   export XDG_CACHE_HOME="$(mktemp -d)"
+  module reset
   set -x
   xfwm4 --compositor=off --daemon --sm-client-disable
   xsetroot -solid "#D3D3D3"
-- 
GitLab