From 82f412762fa8016ece35404a6cd47b30f4b599ef Mon Sep 17 00:00:00 2001 From: Enrique Belarte Luque Date: Tue, 28 Jan 2025 11:36:41 +0100 Subject: [PATCH] Add scripts for matrix --- scripts/kernels.py | 2 +- scripts/md5mod.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kernels.py b/scripts/kernels.py index 67ad9cb..67ccbed 100644 --- a/scripts/kernels.py +++ b/scripts/kernels.py @@ -8,7 +8,7 @@ # Get DTK tags response = requests.get(dtk_registry_api) kernel_json = (response.json()) -kernel_list = "kernel-list.json" +kernel_list = "data/kernel-list.json" # Save tags in file with open(kernel_list, "w+") as output: json.dump(kernel_json, output) diff --git a/scripts/md5mod.py b/scripts/md5mod.py index bc2ee7c..cf55842 100644 --- a/scripts/md5mod.py +++ b/scripts/md5mod.py @@ -1,6 +1,6 @@ import hashlib def createmd5(filetocheck): - filename = filetocheck + filename = "data/" + filetocheck checksumfile = filetocheck[:-4] + "md5" md5_hash = hashlib.md5() with open(filename,"rb") as f: