Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
Get Baden-Württemberg CityGML Opendata
Commits
34a11f74
Commit
34a11f74
authored
Oct 19, 2024
by
Eric Duminil
Browse files
Show error message if RegionChooser fails
parent
1b0a939a
Changes
1
Hide whitespace changes
Inline
Side-by-side
download_files_from_LGL_BW.py
View file @
34a11f74
...
...
@@ -151,11 +151,13 @@ def extract_region(output_dir: Path, location_name: str, wkt: str) -> None:
f
'@
{
params_path
}
'
],
text
=
True
,
capture_output
=
True
,
check
=
True
capture_output
=
True
)
if
(
result
.
stderr
):
print
(
"
\n
"
)
print
(
result
.
stderr
)
if
result
.
returncode
!=
0
:
raise
ValueError
(
f
"RegionChooser failed with code
{
result
.
returncode
}
"
)
print
(
" DONE!"
)
...
...
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