aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/index-genenetwork2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/index-genenetwork b/scripts/index-genenetwork
index 441b8b2..219858c 100755
--- a/scripts/index-genenetwork
+++ b/scripts/index-genenetwork
@@ -240,7 +240,7 @@ def build_rdf_cache(sparql_uri: str, query: str, remove_common_words: bool = Fal
return smaller_cache
-def hash_generif_graph(generif_file: str):
+def hash_generif_graph(generif_file: pathlib.Path) -> str:
with open(generif_file, encoding="utf-8") as f_:
data = f_.read()
return hashlib.md5(data.encode()).hexdigest()