Commit 775cd6a1 authored by iker_martin's avatar iker_martin
Browse files

Minor errors fixed

parent 7b80c0d2
...@@ -275,9 +275,8 @@ dataG = [] ...@@ -275,9 +275,8 @@ dataG = []
for elem in lista: for elem in lista:
f = open(elem, "r") f = open(elem, "r")
id_run = elem.split("_Global.out")[0].split(common_name)[1] id_run = elem.split("_Global.out")[0].split(common_name)[-1]
path_to_run = elem.split(common_name)[0] lista_local = glob.glob(BaseDir + common_name + id_run + "_G*NP*.out")
lista_local = glob.glob(path_to_run + common_name + id_run + "_G*NP*.out")
it,runs_in_file = read_global_file(f, dataG, it) it,runs_in_file = read_global_file(f, dataG, it)
f.close() f.close()
......
...@@ -19,9 +19,9 @@ partition="P1" ...@@ -19,9 +19,9 @@ partition="P1"
scriptDir="$(dirname "$0")" scriptDir="$(dirname "$0")"
source $scriptDir/../Codes/build/config.txt source $scriptDir/../Codes/build/config.txt
codeDir="Codes/" codeDir="/Codes/"
execDir="Exec/" execDir="/Exec/"
ResultsDir="Results/" ResultsDir="/Results/"
cores=$(bash $dir$execDir/BashScripts/getCores.sh $partition) cores=$(bash $dir$execDir/BashScripts/getCores.sh $partition)
if [ "$#" -lt "6" ] if [ "$#" -lt "6" ]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment