Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor
Browse files Browse the repository at this point in the history
mrsmrynk committed Dec 21, 2023
1 parent af731d8 commit 7b96f25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/coordinator.py
Original file line number Diff line number Diff line change
@@ -109,11 +109,11 @@ def extract_coordinates_processed(path_tiles_processed_dir):

pattern = re.compile(r'^(-?\d+)_(-?\d+)$')

for path_tiles_processed_subdir in path_tiles_processed_dir.iterdir():
if not path_tiles_processed_subdir.is_dir():
for path_tile_processed_dir in path_tiles_processed_dir.iterdir():
if not path_tile_processed_dir.is_dir():
continue

match = pattern.search(path_tiles_processed_subdir.name)
match = pattern.search(path_tile_processed_dir.name)

if match:
x_min = int(match.group(1))

0 comments on commit 7b96f25

Please sign in to comment.