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
1f4d20e4
Commit
1f4d20e4
authored
Mar 26, 2026
by
Eric Duminil
Browse files
Easier logic
parent
e318fad5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/simstadt/runner.py
View file @
1f4d20e4
...
...
@@ -255,8 +255,8 @@ def run_workflow(workflow_path: Path, citygmls: list[str]) -> list[Path]:
def
_is_in_proj_folder
(
path
:
Path
)
->
bool
:
"""Return True if path is inside a .proj directory."""
return
any
(
p
.
suffix
==
".proj"
for
p
in
path
.
parents
)
"""Return True if path is
directly
inside a .proj directory."""
return
path
.
parent
.
suffix
==
".proj"
def
_resolve_project
(
citygml_path
:
Path
,
project_path
:
Path
|
None
)
->
tuple
[
Path
,
str
]:
...
...
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