Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
simstadtpy
Commits
e07fb2e3
Commit
e07fb2e3
authored
Mar 13, 2026
by
Eric Duminil
Browse files
Make sure CityGML is found
parent
28d61b37
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/simstadt/runner.py
View file @
e07fb2e3
...
...
@@ -255,6 +255,8 @@ def _resolve_project(citygml_path: Path, project_path: Path | None) -> tuple[Pat
- CityGML inside a .proj folder: use parent as project, reference by name.
- Neither: create a temporary repository under /tmp (not auto-cleaned).
"""
if
not
citygml_path
.
exists
():
raise
FileNotFoundError
(
f
"
{
citygml_path
}
not found"
)
if
project_path
is
not
None
:
project_path
.
mkdir
(
exist_ok
=
True
,
parents
=
True
)
dest
=
project_path
/
citygml_path
.
name
...
...
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