Skip to content

Commit

Permalink
fix(tasks): re-enable grid matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
ahonestla committed Jul 17, 2024
1 parent d5febd0 commit e65a78e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions project/server/main/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,14 @@ def create_task_load(args: dict = None) -> dict:
result = {}
if matcher_type == 'all':
result.update(load_country(index_prefix=index_prefix_dated))
# result.update(load_grid(index_prefix=index_prefix_dated))
result.update(load_grid(index_prefix=index_prefix_dated))
result.update(load_rnsr(index_prefix=index_prefix_dated))
result.update(load_ror(index_prefix=index_prefix_dated))
# result.update(load_paysage(index_prefix=index_prefix_dated))
elif matcher_type == 'country':
result.update(load_country(index_prefix=index_prefix_dated))
elif matcher_type == 'grid':
result = {"Error": "Matcher Grid is deprecated!"}
# result.update(load_grid(index_prefix=index_prefix_dated))
result.update(load_grid(index_prefix=index_prefix_dated))
elif matcher_type == 'rnsr':
result.update(load_rnsr(index_prefix=index_prefix_dated))
elif matcher_type == 'ror':
Expand Down

0 comments on commit e65a78e

Please sign in to comment.