mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-06-26 15:18:37 +02:00
Changed indentation from spaces to tabs
This commit is contained in:
parent
37d4325186
commit
149a1e4209
|
@ -121,18 +121,18 @@ def remove_extras(entry: dict):
|
|||
return entry
|
||||
|
||||
def remove_duplicate_points(entry: dict):
|
||||
"""
|
||||
Removes points from paths that occur twice after each other
|
||||
"""
|
||||
path: list = entry['path']
|
||||
previous: list = path[0]
|
||||
for i in range(len(path)-1, -1, -1):
|
||||
current: list = path[i]
|
||||
if current == previous:
|
||||
path.pop(i)
|
||||
previous = current
|
||||
"""
|
||||
Removes points from paths that occur twice after each other
|
||||
"""
|
||||
path: list = entry['path']
|
||||
previous: list = path[0]
|
||||
for i in range(len(path)-1, -1, -1):
|
||||
current: list = path[i]
|
||||
if current == previous:
|
||||
path.pop(i)
|
||||
previous = current
|
||||
|
||||
return entry
|
||||
return entry
|
||||
|
||||
def fix_r_caps(entry: dict):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue