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
ef7eb0dc
Commit
ef7eb0dc
authored
Apr 05, 2024
by
Eric Duminil
Browse files
Not needed
parent
7fadbca4
Changes
1
Hide whitespace changes
Inline
Side-by-side
python_scripts/run_simstadt_from_python/variable_window_ratio.py
View file @
ef7eb0dc
...
...
@@ -3,7 +3,6 @@ import shutil
from
run_simstadt_workflow
import
find_simstadt
,
check_paths
,
SCRIPT_DIR
,
prepare_workflow
,
run_workflow
SIMSTADT2_GLOB
=
'Desktop/SimStadt2_0.*/'
REPO_PATH
=
Path
.
home
()
/
'git'
/
'simstadt2'
/
'TestRepository'
PROJECT_NAME
=
'Gruenbuehl'
CITYGMLS
=
[
'Gruenbuehl_LOD2_ALKIS_1010_2buildings.gml'
]
...
...
@@ -21,8 +20,9 @@ WORKFLOW_PATH = PROJECT_PATH / f'{TEMPLATE_NAME}.flow'
shutil
.
copytree
(
TEMPLATE
,
WORKFLOW_PATH
,
dirs_exist_ok
=
True
)
check_paths
(
REPO_PATH
,
WORKFLOW_PATH
)
prepare_workflow
(
WORKFLOW_PATH
,
CITYGMLS
)
output_files
=
run_workflow
(
find_simstadt
(
SIMSTADT2_GLOB
),
WORKFLOW_PATH
,
CITYGMLS
)
...
...
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