Skip to content

Commit 2b81d95

Browse files
committed
hash functionality
1 parent f4f8ec8 commit 2b81d95

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

n3fit/src/n3fit/checks.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,4 +571,6 @@ def fktable_hasher(data):
571571
for dataset in data.datasets:
572572
fkspecs = dataset.fkspecs
573573
for fk in fkspecs:
574-
print(fk.fkpath)
574+
fkpath = fk.fkpath
575+
fkhash = hashlib.md5(fkpath.read_bytes()).hexdigest()
576+

0 commit comments

Comments
 (0)