Skip to content

Commit

Permalink
chore: reset encountered_query_exception before each new file
Browse files Browse the repository at this point in the history
  • Loading branch information
RaczeQ committed Jun 4, 2024
1 parent 3eecc91 commit 2bb75a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quackosm/pbf_file_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,7 @@ def _parse_pbf_file(
)
return result_file_path.with_suffix(".geoparquet")

self.encountered_query_exception = False
self.rows_per_group = PbfFileReader.ROWS_PER_GROUP_MEMORY_CONFIG[0]
actual_memory = psutil.virtual_memory()
# If more than 8 / 16 / 24 GB total memory, increase the number of rows per group
Expand Down

0 comments on commit 2bb75a6

Please sign in to comment.