Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
6 months ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Show error message if RegionChooser fails
parent
1b0a939a
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
download_files_from_LGL_BW.py
+4
-2
download_files_from_LGL_BW.py
with
4 additions
and
2 deletions
+4
-2
download_files_from_LGL_BW.py
+
4
-
2
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!"
)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets