Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mayer
CircularGreenSimCity
Commits
beac7c5c
Commit
beac7c5c
authored
Apr 23, 2024
by
Eric Duminil
Browse files
Run simstadt on Linux
parent
fe063002
Changes
1
Hide whitespace changes
Inline
Side-by-side
python_scripts/run_simstadt_from_python/run_simstadt_workflow.py
View file @
beac7c5c
...
@@ -150,7 +150,7 @@ def run_simstadt(simstadt_path: Path, workflow_path:Path , name: str):
...
@@ -150,7 +150,7 @@ def run_simstadt(simstadt_path: Path, workflow_path:Path , name: str):
os
.
chdir
(
simstadt_path
)
os
.
chdir
(
simstadt_path
)
try
:
try
:
logging
.
info
(
"
\n
# Launching %s:"
,
name
)
logging
.
info
(
"
\n
# Launching %s:"
,
name
)
result
=
subprocess
.
run
(
' '
.
join
(
[
simstadt_script
(),
str
(
workflow_path
)]
)
,
result
=
subprocess
.
run
([
simstadt_script
(),
str
(
workflow_path
)],
text
=
True
,
text
=
True
,
capture_output
=
True
,
capture_output
=
True
,
check
=
True
check
=
True
...
...
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