Skip to content

Commit

Permalink
Whoops. Fix debug TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-anz committed May 21, 2024
1 parent d5306b0 commit 86e2138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def read_json_file(filename: str, empty_if_missing=False) -> dict:

def get_all_geojson_files(show_progress: bool = True, rewrite_geojson: bool = False):
"""A generator that returns (filename, geojson_data) for each GeoJSON file in the results directory"""
filenames = glob.glob("results/V**/s*.geojson") # FIXME
filenames = glob.glob("results/**/*.geojson")
for n, filename in enumerate(filenames):
if show_progress and n % 100 == 0:
print_progress_bar(n, len(filenames), prefix="Progress:", suffix="Complete", length=50)
Expand Down

0 comments on commit 86e2138

Please sign in to comment.