From d7eef6ea9ecc8f235bbffa3b5914df47e16173e4 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Fri, 29 Nov 2024 00:29:53 +0000 Subject: [PATCH] Log hashes --- aiida_test_cache/mock_code/_hasher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aiida_test_cache/mock_code/_hasher.py b/aiida_test_cache/mock_code/_hasher.py index 6084396..391c8d0 100644 --- a/aiida_test_cache/mock_code/_hasher.py +++ b/aiida_test_cache/mock_code/_hasher.py @@ -39,6 +39,7 @@ def __call__(self, cwd: Path) -> str: md5sum.update(path.name.encode()) md5sum.update(file_content_bytes) used_paths.append(str(path)) + self.log(f"{path}={md5sum.hexdigest()}") self.log(f"Hashed paths: {used_paths}")