From 95872c9f5d666adfd6befe73288cad12829e1ca3 Mon Sep 17 00:00:00 2001
From: Ravi Tripathi <ravi89@uab.edu>
Date: Fri, 10 Aug 2018 15:00:10 -0500
Subject: [PATCH] Added a variable to loop through, rather then a hard path

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

diff --git a/PART_1/bash_parallel_script b/PART_1/bash_parallel_script
index 6627de4..afdf782 100755
--- a/PART_1/bash_parallel_script
+++ b/PART_1/bash_parallel_script
@@ -13,7 +13,7 @@ mkdir $jobs_out_dir
 mkdir $jobs_err_dir
 
 # Start a for loop to run through all the files in $data_dir
-for file_name in `ls test_dir`
+for file_name in `ls $data_dir`
 do
 
 # Create a slurm script for processing the current file
-- 
GitLab