Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Markus Holzer
waLBerla
Commits
1feafb15
Commit
1feafb15
authored
Nov 25, 2021
by
Markus Holzer
Browse files
Small fix
parent
de6b0007
Pipeline
#35938
passed with stages
in 225 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
python/pystencils_walberla/cmake_integration.py
View file @
1feafb15
...
...
@@ -64,9 +64,9 @@ def parse_json_args():
expected_files
=
parsed
[
'EXPECTED_FILES'
]
cmake_vars
=
{}
for
key
,
value
in
parsed
[
'CMAKE_VARS'
].
items
():
if
value
.
lower
()
in
(
"on"
,
"1"
,
"yes"
,
"true"
):
if
str
(
value
)
.
lower
()
in
(
"on"
,
"1"
,
"yes"
,
"true"
):
value
=
True
elif
value
.
lower
()
in
(
"off"
,
"0"
,
"no"
,
"false"
):
elif
str
(
value
)
.
lower
()
in
(
"off"
,
"0"
,
"no"
,
"false"
):
value
=
False
cmake_vars
[
key
]
=
value
return
expected_files
,
cmake_vars
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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