Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
CardMech
Commits
080eef71
Commit
080eef71
authored
Jun 15, 2022
by
laura.pfeiffer
Browse files
corrected path
parent
a1278d0c
Pipeline
#219550
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tools/solving/BiVentricleHoreka.py
View file @
080eef71
...
...
@@ -106,7 +106,7 @@ def modifyJobskript(name,j,sdt,args,add=0):
return
name
+
'l'
+
str
(
args
[
'ElphyLevel'
])
+
'Job'
def
moveActivation
(
l
,
j
,
alg
):
block
=
''
block
+=
'mv data/vtu/ActivationTime.vtu ../../data/BiVentricle/'
+
str
(
alg
)
+
'0001/'
+
'AT_l'
+
str
(
l
)
+
'j'
+
str
(
j
)
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
):
...
...
@@ -121,14 +121,14 @@ def startJobs(lL,tL,nL,testname,added=None):
else
:
model
=
getModelByName
(
alg
)
arguments
.
update
({
'ElphyModel'
:
model
})
checkIfFolderExists
(
dataPath
+
alg
+
'0001
SAT
/'
+
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
SAT
/'
+
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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment