Skip to content

Commit

Permalink
support for python 3.7...
Browse files Browse the repository at this point in the history
  • Loading branch information
Koyaani committed Jun 9, 2022
1 parent 4de17e6 commit 1a97915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py3dtiles/points/task/xyz_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def init(files, color_scale=None, srs_in=None, srs_out=None, fraction=100):
steps = math.ceil(count / _1M)
if steps != len(seek_values):
raise ValueError("the size of seek_values should be equal to steps,"
f"currently {steps = } and {len(seek_values) = }")
f"currently steps = {steps} and len(seek_values) = {len(seek_values)}")
portions = [
(i * _1M, min(count, (i + 1) * _1M), seek_values[i]) for i in range(steps)
]
Expand Down

0 comments on commit 1a97915

Please sign in to comment.