Skip to content

Commit

Permalink
Start overpass source to fetch after raw data api supported formats
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Feb 8, 2024
1 parent ac17c36 commit ae78d21
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tasks/task_runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,12 +776,6 @@ def add_metadata(z, theme):
use_curl=True,
mapping=mapping_filter,
)
if use_only_galaxy == False:
LOG.debug("Source start for run: {0}".format(run_uid))
source_path = source.path()
LOG.debug("Source end for run: {0}".format(run_uid))

h.apply_file(source_path, locations=True, idx="sparse_file_array")

bundle_files = []

Expand Down Expand Up @@ -938,6 +932,13 @@ def add_metadata(z, theme):
stop_task("mbtiles")
raise ex

if use_only_galaxy == False:
LOG.debug("Source start for run: {0}".format(run_uid))
source_path = source.path()
LOG.debug("Source end for run: {0}".format(run_uid))

h.apply_file(source_path, locations=True, idx="sparse_file_array")

if "garmin_img" in export_formats:
start_task("garmin_img")
try:
Expand Down

0 comments on commit ae78d21

Please sign in to comment.