aboutsummaryrefslogtreecommitdiff
path: root/scripts/index-genenetwork
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/index-genenetwork')
-rwxr-xr-xscripts/index-genenetwork2
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)