From 45f9a817d5c924d01c5ba545491b6c86664317bd Mon Sep 17 00:00:00 2001
From: Ravi Tripathi <ravi89@uab.edu>
Date: Mon, 13 Aug 2018 15:47:30 -0500
Subject: [PATCH] Added array jobs to be ignored from deletion as well

---
 PART_1/clean_env | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PART_1/clean_env b/PART_1/clean_env
index f4626d6..c48bbc4 100755
--- a/PART_1/clean_env
+++ b/PART_1/clean_env
@@ -6,7 +6,7 @@ import shutil
 def rm_test_dir():
 	cwd = os.getcwd()
 	for filename in os.listdir(cwd):
-		if not (filename.endswith("_env") or filename.endswith("_script")):
+		if not (filename.endswith("_env") or filename.endswith("_script") or filename.endswith(".job")):
 			if os.path.isfile(filename):
 				os.remove(filename)
 			else:
-- 
GitLab