Skip to content

Commit

Permalink
fix: change paths printing in doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
RaczeQ committed Dec 28, 2023
1 parent 3fba8c8 commit 60ebc6e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions quackosm/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def convert_pbf_to_gpq(
Tags will be kept in a single column.
>>> import quackosm as qosm
>>> gpq_path = qosm.convert_pbf_to_gpq(monaco_pbf_path)
>>> gpq_path
PosixPath('files/monaco_nofilter_noclip_compact.geoparquet')
>>> str(gpq_path)
'files/monaco_nofilter_noclip_compact.geoparquet'
Inspect the file with duckdb
>>> import duckdb
Expand Down Expand Up @@ -110,8 +110,8 @@ def convert_pbf_to_gpq(
... monaco_pbf_path,
... tags_filter={"building": True, "amenity": True, "highway": True}
... )
>>> gpq_path
PosixPath('files/monaco_6593ca69098459d039054bc5fe0a87c56681e29a5f59d38ce3485c03cb0e9374_noclip_exploded.geoparquet')
>>> str(gpq_path)
'files/monaco_6593ca69098459d039054bc5fe0a87c56681e29a5f59d38ce3485c03cb0e9374_noclip_exploded.geoparquet'
Inspect the file with duckdb
>>> import duckdb
Expand Down Expand Up @@ -163,8 +163,8 @@ def convert_pbf_to_gpq(
... maxy=4.1818121
... )
... )
>>> gpq_path
PosixPath('files/maldives_nofilter_35532d32333a47a057265be0d7903ce27f6aa6ca3df31fe45f4ce67e4dbb3fb5_compact.geoparquet')
>>> str(gpq_path)
'files/maldives_nofilter_35532d32333a47a057265be0d7903ce27f6aa6ca3df31fe45f4ce67e4dbb3fb5_compact.geoparquet'
Inspect the file with duckdb
>>> import duckdb
Expand Down

0 comments on commit 60ebc6e

Please sign in to comment.