diff options
author | Munyoki Kilyungi | 2024-06-12 19:58:20 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-06-12 19:58:20 +0300 |
commit | d4b00115b0b970b16af56f63b06cb20827695659 (patch) | |
tree | bde3eb6171efee9629a7180c20cc856c6d686911 /scripts/index-genenetwork | |
parent | b21102bc4ad3678173e7c94d3e66333ec7c1d40a (diff) | |
download | genenetwork3-d4b00115b0b970b16af56f63b06cb20827695659.tar.gz |
Move the generated xapian files to the correct directory.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'scripts/index-genenetwork')
-rwxr-xr-x | scripts/index-genenetwork | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/index-genenetwork b/scripts/index-genenetwork index 3820044..cccbe68 100755 --- a/scripts/index-genenetwork +++ b/scripts/index-genenetwork @@ -519,7 +519,7 @@ def create_xapian_index(xapian_directory: str, sql_uri: str, logging.info("Writing generif checksums into index") db.set_metadata("generif-checksum", hash_generif_graph(sparql_uri).encode()) for child in combined_index.iterdir(): - shutil.move(child, pathlib.Path(xapian_directory) / child.name) + shutil.move(child, xapian_directory) logging.info("Index built") end_time = time.perf_counter() index_time = datetime.timedelta(seconds=end_time - start_time) |