Skip to content

Commit

Permalink
rename url and add db_name to clp_config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wraymo committed Jan 11, 2024
1 parent 95b3684 commit 7b93016
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

def run_clo(job_id: int, task_id: int, clp_home: pathlib.Path, archive_output_dir: pathlib.Path,
logs_dir: pathlib.Path, search_config: SearchConfig, archive_id: str,
results_cache_url: str, results_cache_db_name: str):
results_cache_uri: str, results_cache_db_name: str):
"""
Searches the given archive for the given wildcard query
Expand All @@ -27,14 +27,14 @@ def run_clo(job_id: int, task_id: int, clp_home: pathlib.Path, archive_output_di
:param logs_dir:
:param search_config:
:param archive_id:
:param results_cache_url:
:param results_cache_uri:
:param results_cache_db_name:
:return: tuple -- (whether the search was successful, output messages)
"""
# Assemble search command
cmd = [
str(clp_home / 'bin' / 'clo'),
results_cache_url,
results_cache_uri,
results_cache_db_name,
str(job_id),
str(archive_output_dir / archive_id),
Expand Down
1 change: 1 addition & 0 deletions components/package-template/src/etc/clp-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#results_cache:
# host: "localhost"
# port: 27017
# db_name: "clp-search"
#
## Where archives should be output to
#archive_output:
Expand Down

0 comments on commit 7b93016

Please sign in to comment.