Commit 62575c73 authored by laura.pfeiffer's avatar laura.pfeiffer
Browse files

corrected path hopefully now

parent 080eef71
Pipeline #219552 passed with stages
in 36 minutes and 41 seconds
import os
dataPath='../../data/BiVentricle'
dataPath='../../data/BiVentricle/'
def checkIfFolderExists(path):
if not os.path.exists(path):
......@@ -109,7 +109,7 @@ def moveActivation(l,j,alg):
block+='mv data/vtu/ActivationTime.vtu ../../data/BiVentricle/'+str(alg)+'0001/' +'AT_l'+str(l)+'j'+str(j)+'.vtu'
block+='\n'
return block
def startJobs(lL,tL,nL,testname,added=None):
def startJobs(lL,tL,nL,testname,added=None): #testname must end with/!!!!!!
sdt=0.0001
arguments={}
for alg in nL:
......@@ -121,14 +121,14 @@ def startJobs(lL,tL,nL,testname,added=None):
else:
model =getModelByName(alg)
arguments.update({'ElphyModel':model})
checkIfFolderExists(dataPath+alg+'0001/'+testname+'/')
checkIfFolderExists(dataPath+alg+'0001/'+testname)
if model =='Splitting':
arguments.update({'ElphySplittingMethod':getSplittingMethodByName(alg)})
for l in lL:
arguments.update({'ElphyLevel':l})
for j in tL:
logname=dataPath+alg+'0001/'+testname+'/log_l'+str(l)+'j'+str(j)+'m1'
logname=dataPath+alg+'0001/'+testname+'log_l'+str(l)+'j'+str(j)+'m1'
arguments.update({'logfile':logname})
if added!=None:
arguments.update(added)
......
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